Files
linux-apfs/drivers
Steven A. Falco e3274e9150 gpio: modify sysfs gpio export so that "value" displays as 0 or 1
gpiolib can export GPIOs to userspace via sysfs.  This patch modifies the
gpio_value_show() so that any non-zero value is explicitly printed as "1",
rather than whatever numerical value the lower-level driver returns.

Signed-off-by: Steve Falco <sfalco@harris.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-10-20 08:52:36 -07:00
..
2008-10-17 14:40:52 -07:00
2008-10-20 08:52:36 -07:00
2008-10-16 11:21:48 -07:00
2008-10-17 14:41:09 -07:00
2008-10-16 11:21:38 -07:00
2008-10-20 08:52:34 -07:00
2008-10-15 23:16:07 +01:00
2008-10-16 11:21:30 -07:00
2008-10-16 11:21:49 -07:00
2008-10-20 08:52:36 -07:00
2008-10-20 08:52:36 -07:00
2008-10-16 11:21:45 -07:00
2008-10-16 11:21:51 -07:00