Commits
![Linus Walleij](https://secure.gravatar.com/avatar/49fe141e59f7ee6cc985cbb8aafc0fe9.jpg?s=96&d=mm)
Linus Walleij committed 72d32000617
gpio: set up initial state from .get_direction() If the gpiochip supports the .get_direction() callback, then the initial state of the descriptor flags should be set up as output accordingly. Also put in comments explaining what is going on. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>