]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/video/backlight/adp8870_bl.c: add missing braces
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Mar 2013 04:07:38 +0000 (15:07 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 22 Mar 2013 04:33:20 +0000 (15:33 +1100)
commit100e27638cff28d22babbe538b109949a13b5b24
tree8749808ca516e54770c76ba738dc317d5b043126
parent37ba16660c67209466984a00c383bf896efbd94e
drivers/video/backlight/adp8870_bl.c: add missing braces

Add missing braces to include error message.  The error message is related
to the return value for sysfs_create_group().  However,
sysfs_create_group() is called when pdata->en_ambl_sens is not zero.
Thus, the checking return value should be included in the if statement.

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