[PATCH] drm/msm: use devm_gpiod_get_optional for optional reset gpio

2015-05-19 Thread Linus Walleij
On Tue, May 19, 2015 at 9:40 AM, 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. > > Also there

[PATCH] drm/msm: use devm_gpiod_get_optional for optional reset gpio

2015-05-19 Thread Uwe Kleine-König
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. Also there is a variant to find optional gpios that returns NULL if there is no