summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2015-06-09 11:35:25 +0200
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2015-07-06 10:10:21 +0200
commit89ae3d3b9a384e75158f71ea9b878c8a45f3d582 (patch)
tree8f09e23f02a10d653ea7ec7b7d89a9fcd2acaacb /drivers/iio
parentLinux 4.2-rc1 (diff)
downloadlinux-89ae3d3b9a384e75158f71ea9b878c8a45f3d582.tar.xz
linux-89ae3d3b9a384e75158f71ea9b878c8a45f3d582.zip
drm/msm/dp: use flags argument of devm_gpiod_get to set direction
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. Use this to simplify the driver. Furthermore this is one caller less that stops us making the flags argument to gpiod_get*() mandatory. Acked-by: Alexandre Courbot <acourbot@nvidia.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'drivers/iio')
0 files changed, 0 insertions, 0 deletions