diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2010-09-10 03:38:03 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-09-10 05:57:24 +0400 |
commit | c956126c137d97acb6f4d56fa9572d0bcc84e4ed (patch) | |
tree | aad2bdd087f9b5ea2abbf633b7f61ebd326ce562 /Documentation/power/states.txt | |
parent | 5affb607720d734ca572b8a77c5c7d62d3042b6f (diff) | |
download | linux-c956126c137d97acb6f4d56fa9572d0bcc84e4ed.tar.xz |
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>
Diffstat (limited to 'Documentation/power/states.txt')
0 files changed, 0 insertions, 0 deletions