]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4085dfb5129a8505e6dc37a90a2cab173a013829
tree1bdf99aaab68b8cc1088cb33040fead683cbac7c
parentb6585d3e3237c299cc5f050404718c8c981ec4be
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