]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
backlight: s6e63m0: remove unnecessary NULL deference check
authorJingoo Han <jg1.han@samsung.com>
Fri, 22 Feb 2013 00:43:23 +0000 (16:43 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 22 Feb 2013 01:22:22 +0000 (17:22 -0800)
commit892dc2e6603034188f51b30e702498a51d8c7365
tree8b692ce179870f06ea0682587ba09edf741ffb1d
parent97a4d9d53a2c63706cb5bf222c37bf273939a7eb
backlight: s6e63m0: remove unnecessary NULL deference check

Remove unnecessary NULL deference check, because it was already checked in
s6e63m0_probe().  Also, POWER_IS_ON is replaced with
s6e63m0_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/s6e63m0.c