gpio: doc updates
authorDavid Brownell <dbrownell@users.sourceforge.net>
Thu, 9 Sep 2010 23:38:03 +0000 (16:38 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 10 Sep 2010 01:57:24 +0000 (18:57 -0700)
commitc956126c137d97acb6f4d56fa9572d0bcc84e4ed
treeaad2bdd087f9b5ea2abbf633b7f61ebd326ce562
parent5affb607720d734ca572b8a77c5c7d62d3042b6f
gpio: doc updates

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>
Documentation/gpio.txt
include/asm-generic/gpio.h