diff options
| author | Stephen Warren <[email protected]> | 2011-09-21 11:16:00 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2011-09-26 17:31:55 -0700 |
| commit | 7c6c936832a46e86b0fac654923ce5015bdc80ee (patch) | |
| tree | 03ebaf1107bf0437617350001a6cba31cfaab740 /tools/perf/scripts/python/syscall-counts.py | |
| parent | f6d838d7fecfd4e59a4ce7bdfb16165add36d26e (diff) | |
staging:iio:magnetometer:ak8975: Don't assume 0 is an invalid GPIO
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 <[email protected]>
Acked-by: Andrew Chew <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions