backlight: max8925_bl: use devm_backlight_device_register()
authorJingoo Han <jg1.han@samsung.com>
Tue, 12 Nov 2013 23:09:21 +0000 (15:09 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:18 +0000 (12:09 +0900)
commit18d9dbce468135c07ab57d2a53b406b9d1e05f18
tree0a0004a86b692337b31d07fcdf31bf957adcee80
parente924c2aadfbd18a38bcc805f32e5ffc1bdad4ad7
backlight: max8925_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/max8925_bl.c