OSDN Git Service

irqchip/brcmstb-l2: Prepare brcmstb_l2_intc_irq_handle for irq argument removal
authorThomas Gleixner <tglx@linutronix.de>
Thu, 16 Jul 2015 20:35:20 +0000 (22:35 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 16 Jul 2015 20:53:22 +0000 (22:53 +0200)
commit00db2ae52a78f6ba23c16c22696da59f4f2a4da0
tree3ac3532923db2e0e4d405a5f44306ac47a01d216
parent77b563ed06a63e59ce1bf2803170898e852b3866
irqchip/brcmstb-l2: Prepare brcmstb_l2_intc_irq_handle 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/irq-brcmstb-l2.c