[PATCH v1 4/4] leds: no longer use unnamed gpios

2015-01-07 Thread Olliver Schinagl
From: Olliver Schinagl The gpio document says we should not use unnamed bindings for gpios. This patch uses the 'led-' prefix to the gpios and updates code and documents. Because the devm_get_gpiod_from_child() falls back to using old-style unnamed gpios, we can update the code first, and update

Re: [PATCH v1 4/4] leds: no longer use unnamed gpios

2015-01-07 Thread Dmitry Torokhov
On Wed, Jan 07, 2015 at 10:08:42AM +0100, Olliver Schinagl wrote: > From: Olliver Schinagl > > The gpio document says we should not use unnamed bindings for gpios. > This patch uses the 'led-' prefix to the gpios and updates code and > documents. Because the devm_get_gpiod_from_child() falls back

Re: [PATCH v1 4/4] leds: no longer use unnamed gpios

2015-01-08 Thread Olliver Schinagl
Hey Dmitry, On 08-01-15 00:55, Dmitry Torokhov wrote: On Wed, Jan 07, 2015 at 10:08:42AM +0100, Olliver Schinagl wrote: From: Olliver Schinagl The gpio document says we should not use unnamed bindings for gpios. This patch uses the 'led-' prefix to the gpios and updates code and documents. Be

Re: [PATCH v1 4/4] leds: no longer use unnamed gpios

2015-01-08 Thread Rob Herring
On Thu, Jan 8, 2015 at 2:45 AM, Olliver Schinagl wrote: > Hey Dmitry, > > > On 08-01-15 00:55, Dmitry Torokhov wrote: >> >> On Wed, Jan 07, 2015 at 10:08:42AM +0100, Olliver Schinagl wrote: >>> >>> From: Olliver Schinagl >>> >>> The gpio document says we should not use unnamed bindings for gpios.

Re: [PATCH v1 4/4] leds: no longer use unnamed gpios

2015-01-08 Thread Dmitry Torokhov
On Thu, Jan 08, 2015 at 08:40:20AM -0600, Rob Herring wrote: > On Thu, Jan 8, 2015 at 2:45 AM, Olliver Schinagl wrote: > > Hey Dmitry, > > > > > > On 08-01-15 00:55, Dmitry Torokhov wrote: > >> > >> On Wed, Jan 07, 2015 at 10:08:42AM +0100, Olliver Schinagl wrote: > >>> > >>> From: Olliver Schinag

Re: [PATCH v1 4/4] leds: no longer use unnamed gpios

2015-01-14 Thread Linus Walleij
On Thu, Jan 8, 2015 at 11:12 PM, Dmitry Torokhov wrote: > On Thu, Jan 08, 2015 at 08:40:20AM -0600, Rob Herring wrote: >> On Thu, Jan 8, 2015 at 2:45 AM, Olliver Schinagl wrote: >> >>> --- a/drivers/leds/leds-gpio.c >> >>> +++ b/drivers/leds/leds-gpio.c >> >>> @@ -184,7 +184,7 @@ static struct g

Re: [PATCH v1 4/4] leds: no longer use unnamed gpios

2015-01-14 Thread Olliver Schinagl
On 14-01-15 13:45, Linus Walleij wrote: On Thu, Jan 8, 2015 at 11:12 PM, Dmitry Torokhov wrote: On Thu, Jan 08, 2015 at 08:40:20AM -0600, Rob Herring wrote: On Thu, Jan 8, 2015 at 2:45 AM, Olliver Schinagl wrote: --- a/drivers/leds/leds-gpio.c +++ b/drivers/leds/leds-gpio.c @@ -184,7 +184,7

Re: [PATCH v1 4/4] leds: no longer use unnamed gpios

2015-01-18 Thread Alexandre Courbot
On Wed, Jan 14, 2015 at 10:20 PM, Olliver Schinagl wrote: > > On 14-01-15 13:45, Linus Walleij wrote: >> >> On Thu, Jan 8, 2015 at 11:12 PM, Dmitry Torokhov >> wrote: >>> >>> On Thu, Jan 08, 2015 at 08:40:20AM -0600, Rob Herring wrote: On Thu, Jan 8, 2015 at 2:45 AM, Olliver Schinagl >

Re: [PATCH v1 4/4] leds: no longer use unnamed gpios

2015-01-18 Thread Alexandre Courbot
On Mon, Jan 19, 2015 at 12:43 PM, Alexandre Courbot wrote: > On Wed, Jan 14, 2015 at 10:20 PM, Olliver Schinagl wrote: >> >> On 14-01-15 13:45, Linus Walleij wrote: >>> >>> On Thu, Jan 8, 2015 at 11:12 PM, Dmitry Torokhov >>> wrote: On Thu, Jan 08, 2015 at 08:40:20AM -0600, Rob Herring