value.
This patch does a double inversion when the GPIO is active high
to make sure either 0 or 1 is returned by these functions.
Signed-off-by: Jose Diaz de Grenu de Pedro
Signed-off-by: Hector Palacios
---
change in v2:
- add missing semicolon
---
drivers/gpio/gpiolib.c | 12 ++--
1
value.
This patch does a double inversion when the GPIO is active high
to make sure either a 0 or 1 is returned by these functions.
Signed-off-by: Jose Diaz de Grenu de Pedro
Signed-off-by: Hector Palacios
---
drivers/gpio/gpiolib.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
2 matches
Mail list logo