pinctrl/sirf: Prepare xxx_gpio-handle_irq for irq argument removal
authorThomas Gleixner <tglx@linutronix.de>
Sun, 12 Jul 2015 23:54:35 +0000 (01:54 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 17 Jul 2015 19:56:22 +0000 (21:56 +0200)
commit3b0d1561ea5787a40b2f014d4f3dc48a575c3675
treec3bd52ea25db063ea5ff86b7cc4cebd8557e685e
parentd1800c234703465b1f0b75aba51e27d7a3f47060
pinctrl/sirf: Prepare xxx_gpio-handle_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: Jiang Liu <jiang.liu@linux.intel.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: linux-gpio@vger.kernel.org
drivers/pinctrl/sirf/pinctrl-atlas7.c
drivers/pinctrl/sirf/pinctrl-sirf.c