gpio: twl6040: Implement .get_direction()
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 3 Sep 2018 08:04:01 +0000 (10:04 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 10 Sep 2018 06:49:22 +0000 (08:49 +0200)
commitba74bd5d5b5b063d50891af16d5c14c29bcc52a6
treeb72f88ea7a33c8e514c8a0ac3ace147a05041046
parent4bef8bf20b69c3a98dbb9c8e406c22adb8fd3903
gpio: twl6040: Implement .get_direction()

The gpiolib cannot deduce the fact that every line is output
by itself, implement a .get_direction() callback so we can
inspect this.

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