[PATCH] drm/msm/dp: use flags argument of devm_gpiod_get to set direction

Alexandre Courbot acourbot at nvidia.com
Tue Jun 9 19:23:55 PDT 2015


On 06/09/2015 06:38 PM, Uwe Kleine-K├Ânig wrote:
> 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 at nvidia.com>



More information about the dri-devel mailing list