]> 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>
Wed, 20 Mar 2013 04:22:57 +0000 (15:22 +1100)
commita8a01e699abab72fa537164426bed79610d020d3
tree69dd8e638484e35ab75b1508c6ac983328e5a25e
parentf7f18b36ece8893da2c29db2a84afa2c45a76a53
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