]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/video/backlight/l4f00242t03.c: check return value of regulator_enable()
authorJingoo Han <jg1.han@samsung.com>
Tue, 26 Mar 2013 23:24:57 +0000 (10:24 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Apr 2013 06:12:24 +0000 (17:12 +1100)
commitbcda658b4003e025497aa340ef62f92f4253166a
treed0a4abfd8ccf2fd3a831edf9e62fda5e248907bf
parentc067056000655fd41d4118a327817ea918d8529f
drivers/video/backlight/l4f00242t03.c: check return value of regulator_enable()

regulator_enable() is marked as as __must_check.  Therefore the return
value of regulator_enable() should be checked.  Also, this patch checks
return value of regulator_set_voltage().

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/video/backlight/l4f00242t03.c