ARM: irq: Call irqchip_init if no init_irq function is specified
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 28 Mar 2013 20:46:44 +0000 (21:46 +0100)
committerOlof Johansson <olof@lixom.net>
Tue, 2 Apr 2013 18:05:40 +0000 (11:05 -0700)
commitebafed7ab9b637656b685f1dc1ee528c77241a0d
tree431f0703142908c5a991483b881d87e6b1dd7438
parentc2573077dfacebdf58f69c666e8f15e9528e5a12
ARM: irq: Call irqchip_init if no init_irq function is specified

More and more sub-architectures are using only the irqchip_init
function. Make the core code call this function if no init_irq field is
provided in the machine description to remove some boilerplate code.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/kernel/irq.c