Re: [PATCH] gpio: rcar: clamp returned value to [0,1]

2014-07-07 Thread Linus Walleij
On Tue, Jun 24, 2014 at 4:19 AM, Jürg Billeter wrote: > While it will be clamped to bool by gpiolib, let's make this sane > in the driver as well. > > Signed-off-by: Jürg Billeter Patch obviously correct to applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line

Re: [PATCH] gpio: rcar: clamp returned value to [0,1]

2014-07-07 Thread Linus Walleij
On Tue, Jun 24, 2014 at 4:19 AM, Jürg Billeter j...@bitron.ch wrote: While it will be clamped to bool by gpiolib, let's make this sane in the driver as well. Signed-off-by: Jürg Billeter j...@bitron.ch Patch obviously correct to applied. Yours, Linus Walleij -- To unsubscribe from this

[PATCH] gpio: rcar: clamp returned value to [0,1]

2014-06-23 Thread Jürg Billeter
While it will be clamped to bool by gpiolib, let's make this sane in the driver as well. Signed-off-by: Jürg Billeter --- drivers/gpio/gpio-rcar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpio/gpio-rcar.c b/drivers/gpio/gpio-rcar.c index 0c9f803..7c62121

[PATCH] gpio: rcar: clamp returned value to [0,1]

2014-06-23 Thread Jürg Billeter
While it will be clamped to bool by gpiolib, let's make this sane in the driver as well. Signed-off-by: Jürg Billeter j...@bitron.ch --- drivers/gpio/gpio-rcar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpio/gpio-rcar.c b/drivers/gpio/gpio-rcar.c index