LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Thomas Gleixner <tglx@linutronix.de>,
Jason Cooper <jason@lakedaemon.net>
Cc: linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org,
Felipe Balbi <balbi@ti.com>
Subject: [PATCH 2/2] irqchip: omap-intc: Remove unused legacy interface for omap2
Date: Tue, 13 Jan 2015 14:23:26 -0800 [thread overview]
Message-ID: <1421187806-6804-3-git-send-email-tony@atomide.com> (raw)
In-Reply-To: <1421187806-6804-1-git-send-email-tony@atomide.com>
Nowadays omap2 is booting in device tree only mode so there is no
need to keep the legacy interface around for omap2_init_irq().
Cc: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
---
drivers/irqchip/irq-omap-intc.c | 8 --------
include/linux/irqchip/irq-omap-intc.h | 1 -
2 files changed, 9 deletions(-)
diff --git a/drivers/irqchip/irq-omap-intc.c b/drivers/irqchip/irq-omap-intc.c
index b75a44a..ece8624 100644
--- a/drivers/irqchip/irq-omap-intc.c
+++ b/drivers/irqchip/irq-omap-intc.c
@@ -348,14 +348,6 @@ out:
omap_ack_irq(NULL);
}
-void __init omap2_init_irq(void)
-{
- omap_nr_irqs = 96;
- omap_nr_pending = 3;
- omap_init_irq(OMAP24XX_IC_BASE, NULL);
- set_handle_irq(omap_intc_handle_irq);
-}
-
void __init omap3_init_irq(void)
{
omap_nr_irqs = 96;
diff --git a/include/linux/irqchip/irq-omap-intc.h b/include/linux/irqchip/irq-omap-intc.h
index bda426a..2e3d1af 100644
--- a/include/linux/irqchip/irq-omap-intc.h
+++ b/include/linux/irqchip/irq-omap-intc.h
@@ -18,7 +18,6 @@
#ifndef __INCLUDE_LINUX_IRQCHIP_IRQ_OMAP_INTC_H
#define __INCLUDE_LINUX_IRQCHIP_IRQ_OMAP_INTC_H
-void omap2_init_irq(void);
void omap3_init_irq(void);
int omap_irq_pending(void);
--
2.1.4
next prev parent reply other threads:[~2015-01-13 22:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-13 22:23 [PATCH 0/2] Add support for dm81xx to omap intc, remove unused legacy support Tony Lindgren
2015-01-13 22:23 ` [PATCH 1/2] irqchip: omap-intc: Fix support for dm814 and dm816 Tony Lindgren
2015-01-14 1:16 ` Felipe Balbi
2015-01-26 10:44 ` [tip:irq/core] " tip-bot for Tony Lindgren
2015-01-13 22:23 ` Tony Lindgren [this message]
2015-01-14 1:17 ` [PATCH 2/2] irqchip: omap-intc: Remove unused legacy interface for omap2 Felipe Balbi
2015-01-26 10:44 ` [tip:irq/core] " tip-bot for Tony Lindgren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1421187806-6804-3-git-send-email-tony@atomide.com \
--to=tony@atomide.com \
--cc=balbi@ti.com \
--cc=jason@lakedaemon.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=tglx@linutronix.de \
--subject='Re: [PATCH 2/2] irqchip: omap-intc: Remove unused legacy interface for omap2' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).