drivers/video/backlight/adp8870_bl.c: add missing braces
authorJingoo Han <jg1.han@samsung.com>
Mon, 29 Apr 2013 23:17:33 +0000 (16:17 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Apr 2013 01:28:15 +0000 (18:28 -0700)
commit8541b827451e0dd907f4a0088213b8982347ce3a
tree349a84bf43216593c7ffde689c9e18ab0bd679c6
parent8ab5aa67f17dc5e18c446664b0105c45a41fec74
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/backlight/adp8870_bl.c