diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2015-05-18 23:45:06 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2015-05-23 21:03:30 +0300 |
commit | a34c0a8bf8caae7a82de08dbcca2c7c11907c805 (patch) | |
tree | e78a15892ae53803b6aac08fc63f0530de44b8b0 /drivers/power/olpc_battery.c | |
parent | b01e7c3b803e6f0498d4db0b124e3b4efb5ac728 (diff) | |
download | linux-a34c0a8bf8caae7a82de08dbcca2c7c11907c805.tar.xz |
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>
Diffstat (limited to 'drivers/power/olpc_battery.c')
0 files changed, 0 insertions, 0 deletions