Power: gpio-poweroff: Fix documentation and gpio_is_valid
authorAndrew Lunn <andrew@lunn.ch>
Sun, 6 Jan 2013 10:10:35 +0000 (11:10 +0100)
committerJason Cooper <jason@lakedaemon.net>
Sun, 6 Jan 2013 17:53:00 +0000 (17:53 +0000)
commit5343527bbfab3f71f64d8ba5d51ce12dec8d82d0
tree42e197b8fb215663bbdd5023226acea16c0b55f5
parent53dfa8e4aa740cc7a19a39d6d4542f856c6b49ae
Power: gpio-poweroff: Fix documentation and gpio_is_valid

Improve the documentation to clarify level vs edge triggered power off.
Improve the comments for level vs edge triggered power off.
Make use of gpio_is_valid().

Reported-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Documentation/devicetree/bindings/gpio/gpio-poweroff.txt
drivers/power/reset/gpio-poweroff.c