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