commit | a34c0a8bf8caae7a82de08dbcca2c7c11907c805 | [log] [tgz] |
---|---|---|
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | Mon May 18 22:45:06 2015 +0200 |
committer | Sebastian Reichel <sre@kernel.org> | Sat May 23 20:03:30 2015 +0200 |
tree | e78a15892ae53803b6aac08fc63f0530de44b8b0 | |
parent | b01e7c3b803e6f0498d4db0b124e3b4efb5ac728 [diff] |
power: reset: gpio-poweroff: let devm_gpiod_get set direction of gpio Since 39b2bbe3d715 (gpio: add flags argument to gpiod_get*() functions) which appeared in v3.17-rc1, the gpiod_get* functions take an additional parameter that allows to specify direction and initial value for output. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Sebastian Reichel <sre@kernel.org>