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