From mboxrd@z Thu Jan 1 00:00:00 1970 From: horms@verge.net.au (Simon Horman) Date: Mon, 1 Jul 2013 16:32:38 +0900 Subject: [PATCH 01/04] ARM: shmobile: Use default ->init_irq() on EMEV2 In-Reply-To: <20130701060112.21728.37189.sendpatchset@w520> References: <20130701060103.21728.83833.sendpatchset@w520> <20130701060112.21728.37189.sendpatchset@w520> Message-ID: <20130701073237.GU14567@verge.net.au> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Mon, Jul 01, 2013 at 03:01:12PM +0900, Magnus Damm wrote: > From: Magnus Damm > > Remove redundant irqchip_init() callback. The default case > of NULL will result in invoking irqchip_init() anyway. > > Signed-off-by: Magnus Damm > --- > > arch/arm/mach-shmobile/setup-emev2.c | 2 -- > 1 file changed, 2 deletions(-) > > --- 0005/arch/arm/mach-shmobile/setup-emev2.c > +++ work/arch/arm/mach-shmobile/setup-emev2.c 2013-07-01 13:33:39.000000000 +0900 > @@ -20,7 +20,6 @@ > #include > #include > #include > -#include > #include > #include > #include > @@ -445,7 +444,6 @@ DT_MACHINE_START(EMEV2_DT, "Generic Emma > .smp = smp_ops(emev2_smp_ops), > .init_early = emev2_init_delay, > .nr_irqs = NR_IRQS_LEGACY, > - .init_irq = irqchip_init, > .dt_compat = emev2_boards_compat_dt, > MACHINE_END Hi Magnus, I mistakenly dropped the following patch from Maxime Ripard from v3.11. I have re-queued it up, for v3.12, in the cleanup branch: commit 4042de1229ecf083890d8ad5c9327e03b648c1a2 Author: Maxime Ripard Date: Sun May 26 22:05:23 2013 +0900 ARM: shmobile: emev2: Remove init_irq declaration in machine description Commit ebafed7a ("ARM: irq: Call irqchip_init if no init_irq function is specified") removed the need to explictly setup the init_irq field in the machine description when using only irqchip_init. Remove that declaration for shmobile as well. Signed-off-by: Maxime Ripard Signed-off-by: Simon Horman diff --git a/arch/arm/mach-shmobile/setup-emev2.c b/arch/arm/mach-shmobile/setup-emev2.c index 899a86c..66694e0 100644 --- a/arch/arm/mach-shmobile/setup-emev2.c +++ b/arch/arm/mach-shmobile/setup-emev2.c @@ -20,7 +20,6 @@ #include #include #include -#include #include #include #include @@ -454,7 +453,6 @@ DT_MACHINE_START(EMEV2_DT, "Generic Emma Mobile EV2 (Flattened Device Tree)") .smp = smp_ops(emev2_smp_ops), .init_early = emev2_init_delay, .nr_irqs = NR_IRQS_LEGACY, - .init_irq = irqchip_init, .init_machine = emev2_add_standard_devices_dt, .dt_compat = emev2_boards_compat_dt, MACHINE_END