drivers/video/backlight/l4f00242t03.c: check return value of regulator_enable()
authorJingoo Han <jg1.han@samsung.com>
Mon, 29 Apr 2013 23:17:34 +0000 (16:17 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Apr 2013 01:28:15 +0000 (18:28 -0700)
commitef73e632fe48b97e67cbff339f9e7d30535d682f
tree1fb4445ee953536863d04d985360cc7f587265cb
parent8541b827451e0dd907f4a0088213b8982347ce3a
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/backlight/l4f00242t03.c