]> 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>
Wed, 20 Mar 2013 04:07:38 +0000 (15:07 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 21 Mar 2013 05:34:00 +0000 (16:34 +1100)
commit9e2b23235711a56d8e2e5cca027dc3588c46a6fc
treeb40401939363d1f0bce7ac1c9e16245ea23c123f
parentdc48080461c085420dd8eda441841219aae40907
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