]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
backlight: platform_lcd: use devm_lcd_device_register()
authorJingoo Han <jg1.han@samsung.com>
Tue, 12 Nov 2013 23:09:31 +0000 (15:09 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:19 +0000 (12:09 +0900)
commit1f9ca1eee8e93cacf1bff11dc3fdd01b7fd80cd7
tree053e15390169af8071480212c34fbd77bb2338f2
parente8796d9f4fde228478ccf953c3f97a58f8e34e48
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/backlight/platform_lcd.c