backlight: kb3886_bl: use devm_backlight_device_register()
authorJingoo Han <jg1.han@samsung.com>
Tue, 12 Nov 2013 23:09:17 +0000 (15:09 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:17 +0000 (12:09 +0900)
commitda6537850eb0d54eed44ba686be0f5f83c5c6559
treeb9a6b993d0fb2b9b75b0923345f70f0edabdbff7
parentff47201582a5bbe6d14d2004e637351c41f78214
backlight: kb3886_bl: use devm_backlight_device_register()

Use devm_backlight_device_register() to make cleanup paths simpler, and
remove unnecessary remove().

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/kb3886_bl.c