Re: [PATCH 1/3] gpiolib: devres: fix devm_gpiod_get_index()

2013-10-23 Thread Linus Walleij
On Mon, Oct 21, 2013 at 12:14 AM, Alexandre Courbot wrote: > Fix the return value if devm_gpiod_get_index(). It was returning 0 while > it should return the obtained GPIO descriptor. > > Signed-off-by: Alexandre Courbot Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send

[PATCH 1/3] gpiolib: devres: fix devm_gpiod_get_index()

2013-10-20 Thread Alexandre Courbot
Fix the return value if devm_gpiod_get_index(). It was returning 0 while it should return the obtained GPIO descriptor. Signed-off-by: Alexandre Courbot --- drivers/gpio/devres.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/devres.c b/drivers/gpio/devres.c ind