gpio: bcm-kona: only use set_irq_flags() on ARM
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 20 Sep 2013 21:14:18 +0000 (23:14 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 20 Sep 2013 21:29:52 +0000 (23:29 +0200)
commit1dc94272117e35c1618516ffe5b129a7663c1d03
tree4e11c1561de291d40b3465a14a65da8ceffc7540
parent7d1815e1e51af36b5b52983cce8bc23cd79a92a9
gpio: bcm-kona: 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.

Reviewed-by: Markus Mayer <mmayer@broadcom.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-bcm-kona.c