]> git.karo-electronics.de Git - karo-tx-linux.git/commit
backlight: ams369fg06: remove unnecessary NULL deference check
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Feb 2013 02:15:19 +0000 (13:15 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:53:10 +0000 (16:53 +1100)
commitbd154595b198ca5aab6e3547ad220293a287bfee
tree5f214146a45fa383465fcdd5d4dec0018595f6f3
parent137bbd61bb3a26ff3827f85d25eeeb57355f9ce3
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