]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: rt3883: Prepare rt3883_pci_irq_handler for irq argument removal
authorThomas Gleixner <tglx@linutronix.de>
Mon, 13 Jul 2015 20:46:10 +0000 (20:46 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Aug 2015 13:23:34 +0000 (15:23 +0200)
commitb2fc3f12742a81701338d38a5c29e1136a4f8ef3
tree421b38afc2c421cb6fc7c995873a83d634708f0b
parentb834514daabc6e8f6793e4fb620023c3fb43865d
MIPS: rt3883: Prepare rt3883_pci_irq_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>
Cc: Jiang Liu <jiang.liu@linux.intel.com>
Cc: linux-mips@linux-mips.org
Cc: LKML <linux-kernel@vger.kernel.org>
Patchwork: https://patchwork.linux-mips.org/patch/10706/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/pci/pci-rt3883.c