From: Uwe Kleine-König Date: Tue, 9 Jun 2015 09:35:25 +0000 (+0200) Subject: drm/msm/dp: use flags argument of devm_gpiod_get to set direction X-Git-Tag: omap-for-v4.3/fixes-rc1~96^2~40^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89ae3d3b9a384e75158f71ea9b878c8a45f3d582;p=pandora-kernel.git 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 Acked-by: Linus Walleij Signed-off-by: Uwe Kleine-König --- Reading git-diff-tree failed