]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf34ff0134108d24ca5b5771690da4f5bbeb854b9
treeaad2bdd087f9b5ea2abbf633b7f61ebd326ce562
parent26d1603c0278ad37083a49f8d6816d7a6b4921ee
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