diff mbox

irqchip: irq-omap-intc: Remove omap3_init_irq()

Message ID 20171005101435.4moezwtx4qoqgiy2@lenoch (mailing list archive)
State New, archived
Headers show

Commit Message

Ladislav Michl Oct. 5, 2017, 10:14 a.m. UTC
We now boot all of mach-omap2 in device tree only mode and
this is now dead code.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
---
 drivers/irqchip/irq-omap-intc.c       | 12 ------------
 include/linux/irqchip/irq-omap-intc.h |  2 --
 2 files changed, 14 deletions(-)

Comments

Tony Lindgren Oct. 11, 2017, 6:14 p.m. UTC | #1
* Ladislav Michl <ladis@linux-mips.org> [171005 03:15]:
> We now boot all of mach-omap2 in device tree only mode and
> this is now dead code.

Looks good to me, but please resend this to the
irqchip maintainers with linux-omap in cc.

Regards,

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Ladislav Michl Oct. 16, 2017, 5:35 a.m. UTC | #2
On Wed, Oct 11, 2017 at 11:14:59AM -0700, Tony Lindgren wrote:
> * Ladislav Michl <ladis@linux-mips.org> [171005 03:15]:
> > We now boot all of mach-omap2 in device tree only mode and
> > this is now dead code.
> 
> Looks good to me, but please resend this to the
> irqchip maintainers with linux-omap in cc.

Does it mean I can add your Acked-by while resending?

	ladis
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Tony Lindgren Oct. 16, 2017, 2:55 p.m. UTC | #3
* Ladislav Michl <ladis@linux-mips.org> [171015 22:36]:
> On Wed, Oct 11, 2017 at 11:14:59AM -0700, Tony Lindgren wrote:
> > * Ladislav Michl <ladis@linux-mips.org> [171005 03:15]:
> > > We now boot all of mach-omap2 in device tree only mode and
> > > this is now dead code.
> > 
> > Looks good to me, but please resend this to the
> > irqchip maintainers with linux-omap in cc.
> 
> Does it mean I can add your Acked-by while resending?

Sure:

Acked-by: Tony Lindgren <tony@atomide.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/irqchip/irq-omap-intc.c b/drivers/irqchip/irq-omap-intc.c
index b04a8ac6e744..05f7f06dd711 100644
--- a/drivers/irqchip/irq-omap-intc.c
+++ b/drivers/irqchip/irq-omap-intc.c
@@ -25,10 +25,6 @@ 
 
 #include <linux/irqchip/irq-omap-intc.h>
 
-/* Define these here for now until we drop all board-files */
-#define OMAP24XX_IC_BASE	0x480fe000
-#define OMAP34XX_IC_BASE	0x48200000
-
 /* selected INTC register offsets */
 
 #define INTC_REVISION		0x0000
@@ -364,14 +360,6 @@  omap_intc_handle_irq(struct pt_regs *regs)
 	handle_domain_irq(domain, irqnr, regs);
 }
 
-void __init omap3_init_irq(void)
-{
-	omap_nr_irqs = 96;
-	omap_nr_pending = 3;
-	omap_init_irq(OMAP34XX_IC_BASE, NULL);
-	set_handle_irq(omap_intc_handle_irq);
-}
-
 static int __init intc_of_init(struct device_node *node,
 			     struct device_node *parent)
 {
diff --git a/include/linux/irqchip/irq-omap-intc.h b/include/linux/irqchip/irq-omap-intc.h
index 2e3d1afeb674..f19ccee7749f 100644
--- a/include/linux/irqchip/irq-omap-intc.h
+++ b/include/linux/irqchip/irq-omap-intc.h
@@ -18,8 +18,6 @@ 
 #ifndef __INCLUDE_LINUX_IRQCHIP_IRQ_OMAP_INTC_H
 #define __INCLUDE_LINUX_IRQCHIP_IRQ_OMAP_INTC_H
 
-void omap3_init_irq(void);
-
 int omap_irq_pending(void);
 void omap_intc_save_context(void);
 void omap_intc_restore_context(void);