summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorLinus Walleij2018-08-22 22:41:11 +0200
committerLinus Walleij2018-08-29 09:09:11 +0200
commita419a3d92aab88dba1bf151f98f93c49d0e34206 (patch)
tree2e5dff8fc6df1428961eca81e7a615d185e29caf /drivers/gpio/Kconfig
parentgpio: ep93xx: Cut gpio_to_irq() usage (diff)
downloadkernel-qcow2-linux-a419a3d92aab88dba1bf151f98f93c49d0e34206.tar.gz
kernel-qcow2-linux-a419a3d92aab88dba1bf151f98f93c49d0e34206.tar.xz
kernel-qcow2-linux-a419a3d92aab88dba1bf151f98f93c49d0e34206.zip
gpio: ep93xx: Switch A and B to use GPIOLIB_IRQCHIP
We can quite easily switch banks/ports A and B to use GPIOLIB_IRQCHIP which is code that will be more careful about handling interrupt descriptors and use a proper irqdomain for translating the IRQs. This cuts down some code in favor of using the implementation inside gpiolib. Acked-by: Alexander Sverdlin <alexander.sverdlin@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r--drivers/gpio/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 05cf02e46bef..8887ac4734ab 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -200,6 +200,7 @@ config GPIO_EP93XX
def_bool y
depends on ARCH_EP93XX
select GPIO_GENERIC
+ select GPIOLIB_IRQCHIP
config GPIO_EXAR
tristate "Support for GPIO pins on XR17V352/354/358"