pinctrl: oxnas: Add GPIO get_direction
authorNeil Armstrong <narmstrong@baylibre.com>
Tue, 24 May 2016 10:03:24 +0000 (12:03 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 30 May 2016 07:41:48 +0000 (09:41 +0200)
commit2f94ced704c488d0bf6b6efe4969a21089dae72d
tree6d231bb6174a8f099b7d54ad17bbaccddac1e9e1
parent2df723d49cdafb6ea97bf7768879c5197666d300
pinctrl: oxnas: Add GPIO get_direction

Implement a get_direction callback for the OXNAS GPIO driver in order
to have pin output polarity in debugfs and new userspace ABI.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-oxnas.c