Re: [PATCH] Bluetooth: hci_bcm: improve use of gpios API

2015-08-12 Thread Marcel Holtmann
Hi Uwe, > devm_gpiod_get currently has an optional parameter to set initial > direction and value for the requested gpio. Make use of this to simplify > the driver and make it not fail to build when this parameter is made > mandatory (which is scheduled for 4.3-rc1). > > Moreover use the

Re: [PATCH] Bluetooth: hci_bcm: improve use of gpios API

2015-08-12 Thread Stephen Rothwell
Hi Uwe, On Wed, 12 Aug 2015 09:20:56 +0200 Uwe Kleine-König wrote: > > devm_gpiod_get currently has an optional parameter to set initial > direction and value for the requested gpio. Make use of this to simplify > the driver and make it not fail to build when this parameter is made > mandatory

[PATCH] Bluetooth: hci_bcm: improve use of gpios API

2015-08-12 Thread Uwe Kleine-König
devm_gpiod_get currently has an optional parameter to set initial direction and value for the requested gpio. Make use of this to simplify the driver and make it not fail to build when this parameter is made mandatory (which is scheduled for 4.3-rc1). Moreover use the _optional variant of

Re: [PATCH] Bluetooth: hci_bcm: improve use of gpios API

2015-08-12 Thread Marcel Holtmann
Hi Uwe, devm_gpiod_get currently has an optional parameter to set initial direction and value for the requested gpio. Make use of this to simplify the driver and make it not fail to build when this parameter is made mandatory (which is scheduled for 4.3-rc1). Moreover use the _optional

[PATCH] Bluetooth: hci_bcm: improve use of gpios API

2015-08-12 Thread Uwe Kleine-König
devm_gpiod_get currently has an optional parameter to set initial direction and value for the requested gpio. Make use of this to simplify the driver and make it not fail to build when this parameter is made mandatory (which is scheduled for 4.3-rc1). Moreover use the _optional variant of

Re: [PATCH] Bluetooth: hci_bcm: improve use of gpios API

2015-08-12 Thread Stephen Rothwell
Hi Uwe, On Wed, 12 Aug 2015 09:20:56 +0200 Uwe Kleine-König u.kleine-koe...@pengutronix.de wrote: devm_gpiod_get currently has an optional parameter to set initial direction and value for the requested gpio. Make use of this to simplify the driver and make it not fail to build when this