OpenCloudOS-Kernel/drivers/gpu/drm/msm/edp
Uwe Kleine-König 02b3ee4664 drm/msm/dp: use flags argument of devm_gpiod_get to set direction
Since 39b2bbe3d7 (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>
Signed-off-by: Rob Clark <robdclark@gmail.com>
2015-08-15 18:27:18 -04:00
..
edp.c drm/msm: Initial add eDP support in msm drm driver (v5) 2015-02-01 15:30:37 -05:00
edp.h drm/msm: Initial add eDP support in msm drm driver (v5) 2015-02-01 15:30:37 -05:00
edp.xml.h drm/msm: update generated headers 2015-08-15 18:27:10 -04:00
edp_aux.c drm/msm/edp: fix build warning - missing prototype 2015-06-11 13:11:02 -04:00
edp_bridge.c drm/msm: Initial add eDP support in msm drm driver (v5) 2015-02-01 15:30:37 -05:00
edp_connector.c drm/msm: Attach assigned encoder to eDP and DSI connectors 2015-05-14 16:56:42 -04:00
edp_ctrl.c drm/msm/dp: use flags argument of devm_gpiod_get to set direction 2015-08-15 18:27:18 -04:00
edp_phy.c drm/msm: Initial add eDP support in msm drm driver (v5) 2015-02-01 15:30:37 -05:00