gpiolib: Export gpiochip_irqchip_irq_valid() to drivers
authorStephen Boyd <sboyd@codeaurora.org>
Wed, 10 Jan 2018 01:58:46 +0000 (17:58 -0800)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 10 Jan 2018 13:21:25 +0000 (14:21 +0100)
commit64ff2c8e468ceff3cd678a4fa2edfc77dadc6bfe
tree0f055ee55152208e0f1614ff4acc01de3188ad2e
parent9961dbcd228e868224f5f725dfae69de739855dc
gpiolib: Export gpiochip_irqchip_irq_valid() to drivers

Some pinctrl drivers can use the gpiochip irq valid information
to figure out if certain gpios are exposed to the kernel for
usage or not. Expose this API so we can use it in the
pinmux_ops::request ops.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c
include/linux/gpio/driver.h