backlight: cr_bllcd: use devm_{backlight,lcd}_device_register()
authorJingoo Han <jg1.han@samsung.com>
Tue, 12 Nov 2013 23:09:35 +0000 (15:09 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:20 +0000 (12:09 +0900)
commit289a65e46b0eb57a5c8f54b4881b93d6ebed9f4e
treebc6f345c4ace4935f60ce69064a466d8f3786b74
parent10645a1d1878cf4c1dde0398a6d6e82aed06ab4a
backlight: cr_bllcd: use devm_{backlight,lcd}_device_register()

Use devm_backlight_device_register() and devm_lcd_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/cr_bllcd.c