]> git.karo-electronics.de Git - karo-tx-linux.git/commit
backlight: ams369fg06: remove unnecessary NULL deference check
authorJingoo Han <jg1.han@samsung.com>
Thu, 7 Feb 2013 01:27:25 +0000 (12:27 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Feb 2013 05:47:02 +0000 (16:47 +1100)
commit1c0b363f279609670ac206a7eb88b7f2aa83dc0b
treef77a428bef4f1aa9fa50e0e439d98913722fc97e
parentfc4d8bfc09a1da3e06267600f26b57b0327f6e1f
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>
drivers/video/backlight/ams369fg06.c