aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2015-07-06 11:09:41 +0200
committerRob Clark <[email protected]>2015-08-15 18:27:18 -0400
commit02b3ee466443ba6780562fb2af5fe0ad5bf059f6 (patch)
tree06f8409101c255cc32e1b28cc2a06d7c596a2400 /lib/test-string_helpers.c
parent328e1a633c9bc26c36ecd320246e4a9b2726e81a (diff)
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 <[email protected]> Acked-by: Linus Walleij <[email protected]> Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions