[PATCH] gpio-davinci: gpio get should return 0 or 1

Sascha Hauer s.hauer at pengutronix.de
Mon Jun 1 05:07:51 PDT 2015


On Sat, May 30, 2015 at 02:57:49PM +0200, Jan Luebbe wrote:
> Returning other values causes problems for client code which wants to
> perform calculations with the returned value.
> 
> Signed-off-by: Jan Luebbe <jluebbe at debian.org>
> ---
>  drivers/gpio/gpio-davinci.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list