diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2015-06-12 09:04:55 +0200 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2015-07-06 10:10:22 +0200 |
commit | a33c380ef59353e550e852c82395306cf83cc7c0 (patch) | |
tree | 36c7b81ea9cc21d2672352d28b4185b1bd2607cd /kernel/printk | |
parent | iio: magn: bmc150: use flags argument of devm_gpiod_get (diff) | |
download | linux-a33c380ef59353e550e852c82395306cf83cc7c0.tar.xz linux-a33c380ef59353e550e852c82395306cf83cc7c0.zip |
media: i2c/adp1653: set enable gpio to output
Without setting the direction of a gpio to output a call to
gpiod_set_value doesn't have a defined outcome.
Furthermore this is one caller less that stops us making the flags
argument to gpiod_get*() mandatory.
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'kernel/printk')
0 files changed, 0 insertions, 0 deletions