]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbd9b04c9f23762cdbb6f61d65ed6a73b9a4e9062
treeb72f88ea7a33c8e514c8a0ac3ace147a05041046
parentf5b8e45937273ddc16f2ce4d88cd13b96534e3c3
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