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

Use devm_backlight_device_register() to make cleanup paths simpler.

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