summaryrefslogtreecommitdiff
path: root/drivers/leds/led-class.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-02-21 16:43:16 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2013-02-21 17:22:21 -0800
commite2ffe8563a528a302abfbb7ed655fc1a3b79128f (patch)
tree7caca40b1053920606a0867a52f42488e9df8ba8 /drivers/leds/led-class.c
parentd2fff29042877154c3bc051a147bc7964a2e5fe2 (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>
Diffstat (limited to 'drivers/leds/led-class.c')
0 files changed, 0 insertions, 0 deletions