git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6d838d
)
staging:iio:magnetometer:ak8975: Don't assume 0 is an invalid GPIO
author
Stephen Warren
<swarren@nvidia.com>
Wed, 21 Sep 2011 10:16:00 +0000
(11:16 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 27 Sep 2011 00:31:55 +0000
(17:31 -0700)
gpio_is_valid() is the defined mechanism to determine whether a GPIO is
valid. Use this instead of assuming that 0 is an invalid GPIO.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Andrew Chew <achew@nvidia.com>
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
No differences found