irqchip/atmel-aic: Handle aic_common_irq_fixup in aic_common_of_init
authorMilo Kim <milo.kim@ti.com>
Wed, 13 Jan 2016 07:19:49 +0000 (16:19 +0900)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 8 Feb 2016 14:03:42 +0000 (15:03 +0100)
commitdd85c79150079339b3ded62dda5f6985d192900a
treea846fbe560ba5bcdfc2a862f8e22fd06c64b2b0b
parent388f7b1d6e8ca06762e2454d28d6c3c55ad0fe95
irqchip/atmel-aic: Handle aic_common_irq_fixup in aic_common_of_init

AIC IRQ fixup is handled in each IRQ chip driver.
It can be moved into aic_common_of_init() before returning the result.
Then, aic_common_irq_fixup() can be changed to static type.

Signed-off-by: Milo Kim <milo.kim@ti.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Ludovic Desroches <ludovic.desroches@atmel.com>
Cc: Nicholas Ferre <nicolas.ferre@atmel.com>
Link: http://lkml.kernel.org/r/1452669592-3401-1-git-send-email-milo.kim@ti.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/irqchip/irq-atmel-aic-common.c
drivers/irqchip/irq-atmel-aic-common.h
drivers/irqchip/irq-atmel-aic.c
drivers/irqchip/irq-atmel-aic5.c