pinctrl: ingenic: Implement .get_direction for GPIO chips
authorPaul Cercueil <paul@crapouillou.net>
Tue, 21 Aug 2018 16:42:33 +0000 (18:42 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 29 Aug 2018 11:37:14 +0000 (13:37 +0200)
commitebd6651418b64ff358e105d611ad993f534b8ea7
tree1be5acecbbed516b3d646c6d9d9a106fe2ec7507
parente72394e2ea196a0cba70c7aeb861ff9c1fa2b1b6
pinctrl: ingenic: Implement .get_direction for GPIO chips

This allows to read from debugfs whether the GPIOs requested are set as
input or output.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-ingenic.c