gpio: lynxpoint: Convert to use gpiolib irqchip
authorMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 25 Jul 2014 06:54:46 +0000 (09:54 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 28 Jul 2014 10:23:56 +0000 (12:23 +0200)
commit7f87210eff7a26a0215b493e9dd7322b16d8dc72
tree1bdf99aaab68b8cc1088cb33040fead683cbac7c
parent0a6d315827eedc733d404ecff3cd4cc0e6437865
gpio: lynxpoint: Convert to use gpiolib irqchip

Instead of open-coding irqchip handling in the driver we can take advantage
of the new irqchip helpers provided by the gpiolib core.

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

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/Kconfig
drivers/gpio/gpio-lynxpoint.c