]> asedeno.scripts.mit.edu Git - linux.git/commit
gpio: twl4030: Implement .get_direction()
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 3 Sep 2018 07:52:10 +0000 (09:52 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 10 Sep 2018 06:48:51 +0000 (08:48 +0200)
commitab8c1e82935b8cd034d18c5d0cf944a532a83aea
treeb0f936c0b05058c3521dedd8fe6c74784e42c9fe
parentecb07684a58fb4139719e96efad516d05c1a33e5
gpio: twl4030: Implement .get_direction()

It's nice to be able to read back the direction of the GPIO
line from the hardware so implement .get_direction() for
twl4030.

Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-twl4030.c