diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2015-05-18 22:45:06 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2015-05-23 20:03:30 +0200 |
commit | a34c0a8bf8caae7a82de08dbcca2c7c11907c805 (patch) | |
tree | e78a15892ae53803b6aac08fc63f0530de44b8b0 /kernel/cpu.c | |
parent | b01e7c3b803e6f0498d4db0b124e3b4efb5ac728 (diff) | |
download | linux-a34c0a8bf8caae7a82de08dbcca2c7c11907c805.tar.gz linux-a34c0a8bf8caae7a82de08dbcca2c7c11907c805.tar.bz2 linux-a34c0a8bf8caae7a82de08dbcca2c7c11907c805.zip |
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 'kernel/cpu.c')
0 files changed, 0 insertions, 0 deletions