commit | e2ffe8563a528a302abfbb7ed655fc1a3b79128f | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Thu Feb 21 16:43:16 2013 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Feb 21 17:22:21 2013 -0800 |
tree | 7caca40b1053920606a0867a52f42488e9df8ba8 | |
parent | d2fff29042877154c3bc051a147bc7964a2e5fe2 [diff] |
backlight: ld9040: remove unnecessary NULL deference check Removee unnecessary NULL deference check, because it was already checked in ld9040_probe(). Also, power_is_on is replaced with ld9040_power_is_on(). Signed-off-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>