summaryrefslogtreecommitdiff
path: root/drivers/power/olpc_battery.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2015-05-18 23:45:06 +0300
committerSebastian Reichel <sre@kernel.org>2015-05-23 21:03:30 +0300
commita34c0a8bf8caae7a82de08dbcca2c7c11907c805 (patch)
treee78a15892ae53803b6aac08fc63f0530de44b8b0 /drivers/power/olpc_battery.c
parentb01e7c3b803e6f0498d4db0b124e3b4efb5ac728 (diff)
downloadlinux-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