]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: tc3589x: add .get_direction() and small cleanup
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 19 Sep 2016 08:08:56 +0000 (10:08 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 19 Sep 2016 08:08:56 +0000 (10:08 +0200)
commit8f949b0ffe2b386d8fc3b8580f1499411ab78881
tree9b31f7c8e1076dd775c05a94ceb3b66718bbd4c1
parent90a88725fcc99009bee7fde2cd2aac3ac9829e8f
gpio: tc3589x: add .get_direction() and small cleanup

This adds a .get_direction() callback to the TC3589x and
renames the function for setting single-ended mode to be
more to the point.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-tc3589x.c