irqchip/spear-shirq: Prepare shirq_handler for irq argument removal
authorThomas Gleixner <tglx@linutronix.de>
Thu, 16 Jul 2015 20:42:21 +0000 (22:42 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 16 Jul 2015 20:53:23 +0000 (22:53 +0200)
commit9fc0fd6b052be4390138bb6c4bae07d6b7e1aa66
tree4bd34f0ea98515ba9b2d375e990eb88d38e9bcd7
parent71093eb2cf720a1eded53c0711c4fa691185e82c
irqchip/spear-shirq: Prepare shirq_handler for irq argument removal

The irq argument of most interrupt flow handlers is unused or merily
used instead of a local variable. The handlers which need the irq
argument can retrieve the irq number from the irq descriptor.

Search and update was done with coccinelle and the invaluable help of
Julia Lawall.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Julia Lawall <Julia.Lawall@lip6.fr>
drivers/irqchip/spear-shirq.c