avr32/at32ap: Consolidate chained IRQ handler install/remove
authorThomas Gleixner <tglx@linutronix.de>
Mon, 13 Jul 2015 20:31:09 +0000 (20:31 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 26 Jul 2015 09:47:25 +0000 (11:47 +0200)
commit4365160def95ef2f5da9b5cc5660e5747e5e1956
tree6fd267e5a92170f365944750b8ae6abb650e01f7
parentaa48b6f708868ab9c22ca737f27a0da832bf7f08
avr32/at32ap: Consolidate chained IRQ handler install/remove

Chained irq handlers usually set up handler data as well. We now have
a function to set both under irq_desc->lock. Replace the two calls
with one.

Search and conversion was done with coccinelle.

Reported-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Hans-Christian Egtvedt <egtvedt@samfundet.no>
Cc: Haavard Skinnemoen <hskinnemoen@gmail.com>
Cc: Jiang Liu <jiang.liu@linux.intel.com>
Cc: Julia Lawall <Julia.Lawall@lip6.fr>
Link: http://lkml.kernel.org/r/20150713100606.351640193@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/avr32/mach-at32ap/pio.c