gpio: zynq: Reduce level of indention in zynq_gpio_irqhandler()
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 18 Aug 2014 09:54:55 +0000 (11:54 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 29 Aug 2014 06:31:57 +0000 (08:31 +0200)
commit5a2533a7478334593c50284fd414c70b3b9217c0
treea14c0439a5193c28f7779e9ff2421336e1db7491
parenta879891ee80413f6999905db43ad0d6852dfa6ca
gpio: zynq: Reduce level of indention in zynq_gpio_irqhandler()

zynq_gpio_irqhandler() uses up to 7 tabs of indention in some parts. Refactor
things to use a helper function for the inner loop to reduce the indention to a
sane level.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-zynq.c