]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9a48dd1bf23332029552c3b3713121890c10f24c
tree4bd34f0ea98515ba9b2d375e990eb88d38e9bcd7
parent7c4281fd1c984a2133fde7d5331841df50440b96
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