diff options
author | Johan Hovold <jhovold@gmail.com> | 2013-11-12 15:09:44 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-13 12:09:21 +0900 |
commit | 5ada4550e86b081b889bced50e5ab6c510f9cdd7 (patch) | |
tree | 3797c038a7e6c3c18a04ab2561cc83fa344c85fa /drivers/video/au1200fb.c | |
parent | 7bb8abe6ed58835c58153d59e4b13513b7306802 (diff) |
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 <jhovold@gmail.com>
Acked-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/au1200fb.c')
0 files changed, 0 insertions, 0 deletions