Revision c956126c137d97acb6f4d56fa9572d0bcc84e4ed authored by David Brownell on 09 September 2010, 23:38:03 UTC, committed by Linus Torvalds on 10 September 2010, 01:57:24 UTC
There's been some recent confusion about error checking GPIO numbers.
briefly, it should be handled mostly during setup, when gpio_request() is
called, and NEVER by expectig gpio_is_valid to report more than
never-usable GPIO numbers.

[akpm@linux-foundation.org: terminate unterminated comment]
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Eric Miao" <eric.y.miao@gmail.com>
Cc: "Ryan Mallon" <ryan@bluewatersys.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 5affb60
History
File Mode Size
governors
Kconfig -rw-r--r-- 464 bytes
Makefile -rw-r--r-- 87 bytes
cpuidle.c -rw-r--r-- 9.6 KB
cpuidle.h -rw-r--r-- 1007 bytes
driver.c -rw-r--r-- 1.4 KB
governor.c -rw-r--r-- 3.1 KB
sysfs.c -rw-r--r-- 9.6 KB

back to top