Re: [RFC PATCH v2 09/16] leds: leds-gpio: Add support for GPIO descriptors

2014-09-24 Thread Mika Westerberg
On Wed, Sep 24, 2014 at 09:55:48AM +0200, Linus Walleij wrote: > On Tue, Sep 16, 2014 at 1:52 PM, Mika Westerberg > wrote: > > > GPIO descriptors are the preferred way over legacy GPIO numbers > > nowadays. Convert the driver to use GPIO descriptors internally but > > still allow passing legacy G

Re: [RFC PATCH v2 09/16] leds: leds-gpio: Add support for GPIO descriptors

2014-09-24 Thread Linus Walleij
On Tue, Sep 16, 2014 at 1:52 PM, Mika Westerberg wrote: > GPIO descriptors are the preferred way over legacy GPIO numbers > nowadays. Convert the driver to use GPIO descriptors internally but > still allow passing legacy GPIO numbers from platform data to support > existing platforms. > > Signed-

Re: [RFC PATCH v2 09/16] leds: leds-gpio: Add support for GPIO descriptors

2014-09-19 Thread Alexandre Courbot
On Tue, Sep 16, 2014 at 8:52 PM, Mika Westerberg wrote: > GPIO descriptors are the preferred way over legacy GPIO numbers > nowadays. Convert the driver to use GPIO descriptors internally but > still allow passing legacy GPIO numbers from platform data to support > existing platforms. > > Signed-o

[RFC PATCH v2 09/16] leds: leds-gpio: Add support for GPIO descriptors

2014-09-16 Thread Mika Westerberg
GPIO descriptors are the preferred way over legacy GPIO numbers nowadays. Convert the driver to use GPIO descriptors internally but still allow passing legacy GPIO numbers from platform data to support existing platforms. Signed-off-by: Mika Westerberg --- drivers/leds/leds-gpio.c | 80 +