]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
tile/pci_gx: Prepare trio_handle_level_irq for irq argument removal
authorThomas Gleixner <tglx@linutronix.de>
Fri, 31 Jul 2015 20:07:40 +0000 (22:07 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 1 Aug 2015 06:07:22 +0000 (08:07 +0200)
commitf5dbdd429f044b9658e27e76a0e896a99f03170f
treecb040553f8f3794f88ccab54fe26f73ab0ff2daa
parent625b86ad26ad35200adc34094c04e04672384735
tile/pci_gx: Prepare trio_handle_level_irq 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>
Cc: Chris Metcalf <cmetcalf@ezchip.com>
arch/tile/kernel/pci_gx.c