gpio: define gpio_is_valid()
authorGuennadi Liakhovetski <g.liakhovetski@pengutronix.de>
Mon, 28 Apr 2008 09:14:46 +0000 (02:14 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:34 +0000 (08:58 -0700)
commite6de1808f8ebfeb7e49f3c5a30cb8f2032beb287
tree2230ea8f384449c7785d636ab016af3b2aa20123
parentd72cbed0c486e3db8b56380635f8e845073ce63a
gpio: define gpio_is_valid()

Introduce a gpio_is_valid() predicate; use it in gpiolib.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@pengutronix.de>
    [ use inline function; follow the gpio_* naming convention;
      work without gpiolib; all programming interfaces need docs ]
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>
Documentation/gpio.txt
drivers/gpio/gpiolib.c
include/asm-generic/gpio.h