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

2015-05-19 Thread Uwe Kleine-König
Hello, On Tue, May 19, 2015 at 10:06:54AM +0200, Thierry Reding wrote: > On Tue, May 19, 2015 at 09:03:49AM +0200, 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 > > p

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

2015-05-19 Thread Thierry Reding
On Tue, May 19, 2015 at 09:03:49AM +0200, 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

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

2015-05-19 Thread Thierry Reding
On Tue, May 19, 2015 at 09:09:24AM +0200, Uwe Kleine-König wrote: > Hello, > > the subject is missing "ps8622" before the :. Should I resend for that? No need to resend, I've fixed it up while applying. Thierry -- next part -- A non-text attachment was scrubbed... Name:

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

2015-05-19 Thread Uwe Kleine-König
Hello, the subject is missing "ps8622" before the :. Should I resend for that? On Tue, May 19, 2015 at 09:03:49AM +0200, Uwe Kleine-König wrote: > drivers/gpu/drm/bridge/ps8622.c | 20 +--- > 1 file changed, 5 insertions(+), 15 deletions(-) Best regards Uwe -- Pengutronix e.

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

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. Use this to simplify the driver. Furthermore this is one caller less that stops