gpio: sch311x: Implement .get_direction()
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 27 Jun 2018 08:47:28 +0000 (10:47 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 2 Jul 2018 14:00:49 +0000 (16:00 +0200)
commitf9e03b0ef10ce5040714783a09cf12df26bcb3d7
tree12256ec748c0b9e8d6a7af063fc32b453768f1e9
parent30467c19e456ac3503164248131ec0ea57852abf
gpio: sch311x: Implement .get_direction()

It's pretty simple to implement the .get_direction() for this
chip, so let's just do it.

Cc: Bruno Randolf <br1@einfach.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-sch311x.c