Re: [PATCH v2] usb: dwc3: pci: make better use of gpiod API

2015-06-24 Thread Heikki Krogerus
On Tue, Jun 23, 2015 at 02:25:06PM +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 v2] usb: dwc3: pci: make better use of gpiod API

2015-06-23 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 additional parameter and the _optional variant to simplify the driver a