Re: [PATCH 2/4] gpiolib: add gpiod_get and gpiod_put functions

2013-01-08 Thread Alexandre Courbot
On Tue, Jan 8, 2013 at 10:07 PM, Arnd Bergmann wrote: > On Tuesday 08 January 2013, Alexandre Courbot wrote: >> >> Adds new GPIO allocation functions that work with the opaque descriptor >> interface. >> >> Signed-off-by: Alexandre Courbot > > I think you need to reorder the patches slightly, sin

Re: [PATCH 2/4] gpiolib: add gpiod_get and gpiod_put functions

2013-01-08 Thread Arnd Bergmann
On Tuesday 08 January 2013, Alexandre Courbot wrote: > > Adds new GPIO allocation functions that work with the opaque descriptor > interface. > > Signed-off-by: Alexandre Courbot I think you need to reorder the patches slightly, since the gpiod_get function introduced here is already being used

[PATCH 2/4] gpiolib: add gpiod_get and gpiod_put functions

2013-01-07 Thread Alexandre Courbot
Adds new GPIO allocation functions that work with the opaque descriptor interface. Signed-off-by: Alexandre Courbot --- drivers/gpio/gpiolib.c| 164 ++ include/linux/gpio/consumer.h | 8 +++ include/linux/gpio/driver.h | 21 ++ 3 files cha