commit | 5ada4550e86b081b889bced50e5ab6c510f9cdd7 | [log] [tgz] |
---|---|---|
author | Johan Hovold <jhovold@gmail.com> | Tue Nov 12 15:09:44 2013 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Nov 13 12:09:21 2013 +0900 |
tree | 3797c038a7e6c3c18a04ab2561cc83fa344c85fa | |
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>