gpio: rcar: Switch to use gpiolib irqchip helpers
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 12 Jan 2015 10:07:59 +0000 (11:07 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 15 Jan 2015 16:23:25 +0000 (17:23 +0100)
commitc7f3c5d3ac2d683169485b2f14d1aff19de2b2fe
tree54ef3f90d99bbbcc2607fc2032437290025c0fa1
parent7d82bf3419c103dbb730e7834186fc5d577b9da1
gpio: rcar: Switch to use gpiolib irqchip helpers

Switch the R-Car Gen2 GPIO driver to use the gpiolib irqchip helpers.

While doing this also make sure that gpiochip_irqchip_add() is called
after the gpiochip itself is registered, as required.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/Kconfig
drivers/gpio/gpio-rcar.c