Mathias Nyman 80b0a60292 gpiolib: add gpio get direction callback support
Add .get_direction callback to gpio_chip. This allows gpiolib
to check the current direction of a gpio.
Used to show the correct gpio direction in sysfs and debug entries.

If callback is not set then gpiolib will work as previously;
e.g. guessing everything is input until a direction is set.

Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2012-10-26 09:18:55 +02:00
..
2012-10-08 17:42:36 -04:00
2012-10-13 10:57:01 +09:00
2012-10-09 07:07:14 +09:00
2012-10-13 13:28:32 -07:00
2012-10-12 10:21:02 +09:00
2012-10-13 11:14:29 +09:00