arm: omap: irq: drop omap3_intc_handle_irq()
authorFelipe Balbi <balbi@ti.com>
Tue, 9 Sep 2014 00:54:52 +0000 (17:54 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 11 Sep 2014 20:05:40 +0000 (13:05 -0700)
now that we're calling set_handle_irq() from
init_irq(), we can safely drop all callers to
omap3_intc_handle_irq() and its definition.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
16 files changed:
arch/arm/mach-omap2/board-3430sdp.c
arch/arm/mach-omap2/board-am3517crane.c
arch/arm/mach-omap2/board-am3517evm.c
arch/arm/mach-omap2/board-cm-t35.c
arch/arm/mach-omap2/board-cm-t3517.c
arch/arm/mach-omap2/board-devkit8000.c
arch/arm/mach-omap2/board-ldp.c
arch/arm/mach-omap2/board-omap3beagle.c
arch/arm/mach-omap2/board-omap3logic.c
arch/arm/mach-omap2/board-omap3pandora.c
arch/arm/mach-omap2/board-omap3stalker.c
arch/arm/mach-omap2/board-omap3touchbook.c
arch/arm/mach-omap2/board-overo.c
arch/arm/mach-omap2/board-rx51.c
arch/arm/mach-omap2/common.h
arch/arm/mach-omap2/irq.c

index d95d0ef1354aeb0b44fecdb2d774d728f820463d..d21a3048d06b6846c926b066ba21a2661645540b 100644 (file)
@@ -625,7 +625,6 @@ MACHINE_START(OMAP_3430SDP, "OMAP3430 3430SDP board")
        .map_io         = omap3_map_io,
        .init_early     = omap3430_init_early,
        .init_irq       = omap3_init_irq,
-       .handle_irq     = omap3_intc_handle_irq,
        .init_machine   = omap_3430sdp_init,
        .init_late      = omap3430_init_late,
        .init_time      = omap3_sync32k_timer_init,
index 0d499a1878f6917f7ce4ffcd61dd04cb92fb6db5..212c3160de183810438a3f8ca2e725674231edb3 100644 (file)
@@ -142,7 +142,6 @@ MACHINE_START(CRANEBOARD, "AM3517/05 CRANEBOARD")
        .map_io         = omap3_map_io,
        .init_early     = am35xx_init_early,
        .init_irq       = omap3_init_irq,
-       .handle_irq     = omap3_intc_handle_irq,
        .init_machine   = am3517_crane_init,
        .init_late      = am35xx_init_late,
        .init_time      = omap3_sync32k_timer_init,
index 4f9383cecf763197c361266ffde549fda56a72db..1c091b3fa31228ada75d14d3415aff0702fa628a 100644 (file)
@@ -366,7 +366,6 @@ MACHINE_START(OMAP3517EVM, "OMAP3517/AM3517 EVM")
        .map_io         = omap3_map_io,
        .init_early     = am35xx_init_early,
        .init_irq       = omap3_init_irq,
-       .handle_irq     = omap3_intc_handle_irq,
        .init_machine   = am3517_evm_init,
        .init_late      = am35xx_init_late,
        .init_time      = omap3_sync32k_timer_init,
index 018353d88b96820faeef14bdd32f4273cfc0264f..c6df8eec45532d2ed26d0180480e416aecf2696f 100644 (file)
@@ -766,7 +766,6 @@ MACHINE_START(CM_T35, "Compulab CM-T35")
        .map_io         = omap3_map_io,
        .init_early     = omap35xx_init_early,
        .init_irq       = omap3_init_irq,
-       .handle_irq     = omap3_intc_handle_irq,
        .init_machine   = cm_t35_init,
        .init_late      = omap35xx_init_late,
        .init_time      = omap3_sync32k_timer_init,
@@ -779,7 +778,6 @@ MACHINE_START(CM_T3730, "Compulab CM-T3730")
        .map_io         = omap3_map_io,
        .init_early     = omap3630_init_early,
        .init_irq       = omap3_init_irq,
-       .handle_irq     = omap3_intc_handle_irq,
        .init_machine   = cm_t3730_init,
        .init_late     = omap3630_init_late,
        .init_time      = omap3_sync32k_timer_init,
index 4eb5e6f2f7f5c7e164797069c4f84a03d1995ad1..8a2c1677964cbb5c0d60c56bb27645b237e1b2fb 100644 (file)
@@ -329,7 +329,6 @@ MACHINE_START(CM_T3517, "Compulab CM-T3517")
        .map_io         = omap3_map_io,
        .init_early     = am35xx_init_early,
        .init_irq       = omap3_init_irq,
-       .handle_irq     = omap3_intc_handle_irq,
        .init_machine   = cm_t3517_init,
        .init_late      = am35xx_init_late,
        .init_time      = omap3_gptimer_timer_init,
index cdc4fb9960a99dda470d6b939366db4d678be595..d8e4f346936a2a0f48755b75233943aed860c34d 100644 (file)
@@ -647,7 +647,6 @@ MACHINE_START(DEVKIT8000, "OMAP3 Devkit8000")
        .map_io         = omap3_map_io,
        .init_early     = omap35xx_init_early,
        .init_irq       = omap3_init_irq,
-       .handle_irq     = omap3_intc_handle_irq,
        .init_machine   = devkit8000_init,
        .init_late      = omap35xx_init_late,
        .init_time      = omap3_secure_sync32k_timer_init,
index 44a59c3abfb0535e8c9168284a5bf67ed0f13bb6..c2975af4cd5dee360e37fa886d3188314e347af3 100644 (file)
@@ -422,7 +422,6 @@ MACHINE_START(OMAP_LDP, "OMAP LDP board")
        .map_io         = omap3_map_io,
        .init_early     = omap3430_init_early,
        .init_irq       = omap3_init_irq,
-       .handle_irq     = omap3_intc_handle_irq,
        .init_machine   = omap_ldp_init,
        .init_late      = omap3430_init_late,
        .init_time      = omap3_sync32k_timer_init,
index e2e52031f0565e09d4c815b6c0e9f026b5e13467..81de1c68b36020d6efa43561e498861052020c65 100644 (file)
@@ -588,7 +588,6 @@ MACHINE_START(OMAP3_BEAGLE, "OMAP3 Beagle Board")
        .map_io         = omap3_map_io,
        .init_early     = omap3_init_early,
        .init_irq       = omap3_init_irq,
-       .handle_irq     = omap3_intc_handle_irq,
        .init_machine   = omap3_beagle_init,
        .init_late      = omap3_init_late,
        .init_time      = omap3_secure_sync32k_timer_init,
index bab51e64c4b5c76dbd2b6a88c48c010d91ee9e8e..6049f60a88132b36400c301109910dee326d26af 100644 (file)
@@ -230,7 +230,6 @@ MACHINE_START(OMAP3_TORPEDO, "Logic OMAP3 Torpedo board")
        .map_io         = omap3_map_io,
        .init_early     = omap35xx_init_early,
        .init_irq       = omap3_init_irq,
-       .handle_irq     = omap3_intc_handle_irq,
        .init_machine   = omap3logic_init,
        .init_late      = omap35xx_init_late,
        .init_time      = omap3_sync32k_timer_init,
@@ -243,7 +242,6 @@ MACHINE_START(OMAP3530_LV_SOM, "OMAP Logic 3530 LV SOM board")
        .map_io         = omap3_map_io,
        .init_early     = omap35xx_init_early,
        .init_irq       = omap3_init_irq,
-       .handle_irq     = omap3_intc_handle_irq,
        .init_machine   = omap3logic_init,
        .init_late      = omap35xx_init_late,
        .init_time      = omap3_sync32k_timer_init,
index cf18340eb3bbd5ecc4655cf8c12eb54de1279f2b..f32201656cf30b5af416d53176c282d467ea2491 100644 (file)
@@ -624,7 +624,6 @@ MACHINE_START(OMAP3_PANDORA, "Pandora Handheld Console")
        .map_io         = omap3_map_io,
        .init_early     = omap35xx_init_early,
        .init_irq       = omap3_init_irq,
-       .handle_irq     = omap3_intc_handle_irq,
        .init_machine   = omap3pandora_init,
        .init_late      = omap35xx_init_late,
        .init_time      = omap3_sync32k_timer_init,
index a2e035e0792a3798e54c97021d90308e91a2930e..6311f4b1ee448308a3afe112a2acefd0d5cbf287 100644 (file)
@@ -426,7 +426,6 @@ MACHINE_START(SBC3530, "OMAP3 STALKER")
        .map_io                 = omap3_map_io,
        .init_early             = omap35xx_init_early,
        .init_irq               = omap3_init_irq,
-       .handle_irq             = omap3_intc_handle_irq,
        .init_machine           = omap3_stalker_init,
        .init_late              = omap35xx_init_late,
        .init_time              = omap3_secure_sync32k_timer_init,
index 70b904c010c682b54f59df863f6cbf900c5072ee..a01993e5500f3b10e4405a82458fc57497a53729 100644 (file)
@@ -388,7 +388,6 @@ MACHINE_START(TOUCHBOOK, "OMAP3 touchbook Board")
        .map_io         = omap3_map_io,
        .init_early     = omap3430_init_early,
        .init_irq       = omap3_init_irq,
-       .handle_irq     = omap3_intc_handle_irq,
        .init_machine   = omap3_touchbook_init,
        .init_late      = omap3430_init_late,
        .init_time      = omap3_secure_sync32k_timer_init,
index f6d3841119118c6cfe3c56664a4dc160ae2f2d05..2dae6ccd39bb9757956279a08399257cd4bcfc26 100644 (file)
@@ -564,7 +564,6 @@ MACHINE_START(OVERO, "Gumstix Overo")
        .map_io         = omap3_map_io,
        .init_early     = omap35xx_init_early,
        .init_irq       = omap3_init_irq,
-       .handle_irq     = omap3_intc_handle_irq,
        .init_machine   = overo_init,
        .init_late      = omap35xx_init_late,
        .init_time      = omap3_sync32k_timer_init,
index db168c9627a15e2ba5d0ea11bf02001cc73b83ff..2d1e5a6beb855d47e4366df52876c667497c6c0b 100644 (file)
@@ -134,7 +134,6 @@ MACHINE_START(NOKIA_RX51, "Nokia RX-51 board")
        .map_io         = omap3_map_io,
        .init_early     = omap3430_init_early,
        .init_irq       = omap3_init_irq,
-       .handle_irq     = omap3_intc_handle_irq,
        .init_machine   = rx51_init,
        .init_late      = omap3430_init_late,
        .init_time      = omap3_sync32k_timer_init,
index ed906bcca13396e448ee42ffbb4260bf9d0d8307..7d689d230e8cf1068a6d048e6fddcba3b4bc23a4 100644 (file)
@@ -220,7 +220,6 @@ void omap3_intc_suspend(void);
 void omap3_intc_prepare_idle(void);
 void omap3_intc_resume_idle(void);
 void omap2_intc_handle_irq(struct pt_regs *regs);
-void omap3_intc_handle_irq(struct pt_regs *regs);
 void omap_gic_of_init(void);
 
 #ifdef CONFIG_CACHE_L2X0
index 994009ce6001e196da8b7b414718c5b4bcb54af8..4dfeac6f2f65be5bd17783451f4e8181004fbc9c 100644 (file)
@@ -326,8 +326,3 @@ static int __init intc_of_init(struct device_node *node,
 IRQCHIP_DECLARE(omap2_intc, "ti,omap2-intc", intc_of_init);
 IRQCHIP_DECLARE(omap3_intc, "ti,omap3-intc", intc_of_init);
 IRQCHIP_DECLARE(am33xx_intc, "ti,am33xx-intc", intc_of_init);
-
-asmlinkage void __exception_irq_entry omap3_intc_handle_irq(struct pt_regs *regs)
-{
-       omap_intc_handle_irq(regs);
-}