]> git.karo-electronics.de Git - karo-tx-linux.git/commit
backlight: platform_lcd: use devm_lcd_device_register()
authorJingoo Han <jg1.han@samsung.com>
Tue, 5 Nov 2013 05:56:37 +0000 (16:56 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 05:56:37 +0000 (16:56 +1100)
commitba7d0e2df8f1122f8fded41a15804dd51e87a3e3
tree361c11ddbfb4a25530fb90e7b65880689283bf72
parent601bd342bd8cba35ce5c0fda34241b9873d15ee9
backlight: platform_lcd: use devm_lcd_device_register()

Use devm_lcd_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>
drivers/video/backlight/platform_lcd.c