irqchip/vt8500: Use irq_set_handler_locked()
authorThomas Gleixner <tglx@linutronix.de>
Tue, 23 Jun 2015 13:52:41 +0000 (15:52 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 12 Jul 2015 07:37:47 +0000 (09:37 +0200)
commitd2aa914d27f1fb9b7d4e4767c1698ed6a665cb1d
tree27159cebe730de7884066ec671734651a7be4e8b
parent5b29264c659c31bada65582005d99adb3bb41fea
irqchip/vt8500: Use irq_set_handler_locked()

Use irq_set_handler_locked() as it avoids a redundant lookup of the
irq descriptor.

Search and replacement was done with coccinelle:

@@
struct irq_data *d;
expression E1;
@@

-__irq_set_handler_locked(d->irq, E1);
+irq_set_handler_locked(d, E1);

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Jiang Liu <jiang.liu@linux.intel.com>
Cc: Julia Lawall <julia.lawall@lip6.fr>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-vt8500.c