]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit66ecc11dfc3c9b47f9f78b7455c3d498329e891a
tree20700ec243b01e9b574fb58a4e7bc461786a4923
parent51976436169ebb607e16a971e3a391480de710d1
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