spmi/pmic_arb: Consolidate chained IRQ handler install/remove
authorThomas Gleixner <tglx@linutronix.de>
Mon, 13 Jul 2015 20:52:24 +0000 (20:52 +0000)
committerIngo Molnar <mingo@kernel.org>
Wed, 29 Jul 2015 08:08:10 +0000 (10:08 +0200)
commitfb68ba6d0b06cf287e9081d60f705501c52124f6
tree61f7c5c8d88c890c08a7012afa5b2e141adc9031
parentc497615c0cb62ba0b06db9580911dcf6d612bdb9
spmi/pmic_arb: 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>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiang Liu <jiang.liu@linux.intel.com>
Cc: Julia Lawall <Julia.Lawall@lip6.fr>
Link: http://lkml.kernel.org/r/20150713151750.831790045@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
drivers/spmi/spmi-pmic-arb.c