gpio-davinci: gpio get should return 0 or 1
Returning other values causes problems for client code which wants to
perform calculations with the returned value.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 6792d94 commit 9bf7d3b281c3a8ff344dfcbac5c73f6a2938ec58
@Jan Luebbe Jan Luebbe authored on 30 May 2015
Sascha Hauer committed on 1 Jun 2015
Showing 1 changed file
View
drivers/gpio/gpio-davinci.c