pinctrl: at91: implement get_direction
authorRichard Genoud <richard.genoud@gmail.com>
Mon, 17 Feb 2014 16:57:26 +0000 (17:57 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 25 Feb 2014 09:49:15 +0000 (10:49 +0100)
commit8af584b8683640fef9deb317e166a0aa0ebae151
treed9438b7592c74bab20f4777614df3213241e3aac
parent0c002ef8caeff728d4015082cbe998cfdd57f1e0
pinctrl: at91: implement get_direction

This is needed for gpiod_get_direction().
Otherwise, it returns -EINVAL.

Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-at91.c