diff options
| author | Johan Hovold <[email protected]> | 2013-11-12 23:09:44 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-11-13 03:09:21 +0000 |
| commit | 5ada4550e86b081b889bced50e5ab6c510f9cdd7 (patch) | |
| tree | 3797c038a7e6c3c18a04ab2561cc83fa344c85fa /lib/debugobjects.c | |
| parent | backlight: atmel-pwm-bl: remove unused include (diff) | |
| download | kernel-5ada4550e86b081b889bced50e5ab6c510f9cdd7.tar.gz kernel-5ada4550e86b081b889bced50e5ab6c510f9cdd7.zip | |
backlight: atmel-pwm-bl: use gpio_is_valid
Use gpio_is_valid rather than open coding the more restrictive != -1
test.
Signed-off-by: Johan Hovold <[email protected]>
Acked-by: Jingoo Han <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
