]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
gpio: pcf857x: only use set_irq_flags() on ARM
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 18 Sep 2013 11:12:29 +0000 (13:12 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 18 Sep 2013 13:52:17 +0000 (15:52 +0200)
commitc27769ef6e118d355922d9c4a530b9d68405b39b
tree9b73af5ff936950c245da052f033db553156c5cc
parent524c10818c32ed343d5d8af49c04589ab21e64d4
gpio: pcf857x: only use set_irq_flags() on ARM

As per the pattern from other GPIO drivers, use set_irq_flags()
on ARM only, use irq_set_noprobe() on other archs.

Also rename the argument "virq" to just "irq", this IRQ isn't
any more "virtual" than any other Linux IRQ number, we use
"hwirq" for the actual hw-numbers, "virq" is just bogus.

Cc: George Cherian <george.cherian@ti.com>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pcf857x.c