Re: [PATCH next 1/2] net: rfkill: gpio: make better use of gpiod API

2015-05-29 Thread Johannes Berg
On Thu, 2015-05-28 at 11:46 +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. > > Furthermore

[PATCH next 1/2] net: rfkill: gpio: make better use of gpiod API

2015-05-28 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. Furthermore there is devm_gpiod_get_optional which is designed to get optional g