Neil Zhang 3018fd8131 gpio: pxa: clamp gpio get value to [0,1]
It would be convenient to normalize the return value for gpio_get.

I have checked mach-mmp / mach-pxa / plat-pxa / plat-orion / mach-orion5x.
It's OK for all of them to change this function to return 0 and 1.

Signed-off-by: Neil Zhang <zhangwm@marvell.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2014-01-15 08:56:20 +01:00
..
2013-10-29 18:26:14 -07:00
2013-12-12 14:28:12 +01:00
2013-12-09 14:04:37 +01:00
2012-11-28 11:39:59 -08:00
2013-12-04 14:48:17 +01:00
2011-06-06 10:10:11 -06:00
2013-08-16 15:24:35 +02:00
2012-11-28 11:39:33 -08:00
2013-12-09 14:04:37 +01:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2013-12-09 14:04:37 +01:00
2013-12-09 14:04:37 +01:00
2012-11-28 11:39:59 -08:00
2013-06-17 07:47:33 +02:00
2013-12-12 14:33:14 +01:00
2014-01-08 15:07:28 +01:00
2014-01-08 15:07:28 +01:00