]> git.baikalelectronics.ru Git - kernel.git/commit
backlight: ams369fg06: remove unnecessary NULL deference check
authorJingoo Han <jg1.han@samsung.com>
Fri, 22 Feb 2013 00:43:28 +0000 (16:43 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 22 Feb 2013 01:22:22 +0000 (17:22 -0800)
commit4319f61ad79fca1e43023e9924590f22c3e48053
tree20700ec243b01e9b574fb58a4e7bc461786a4923
parent7a70087cd3a6e562deb62bad7dd9ffc291902016
backlight: ams369fg06: remove unnecessary NULL deference check

Remove unnecessary NULL deference check, because it was already checked in
ams369fg06_probe().  Also, unnecessary parentheses are removed in
ams369fg06_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>
drivers/video/backlight/ams369fg06.c