gpio: wcove-gpio: add get_direction method
authorBin Gao <bin.gao@linux.intel.com>
Mon, 15 Aug 2016 18:03:23 +0000 (11:03 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 19 Aug 2016 13:02:19 +0000 (15:02 +0200)
commit7d9e59ce761f2ebe0bf57e6467cc13d932ee109b
treefc8092840de21aaecc4f13652dcb0be01fc1536c
parent9c6686322d749814e3e7af492954ca1777444023
gpio: wcove-gpio: add get_direction method

This patch adds .get_direction method for the gpio_chip structure
of the wcove_gpio driver.

Signed-off-by: Bin Gao <bin.gao@intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-wcove.c