]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
backlight: lms283gf05: use devm_lcd_device_register()
authorJingoo Han <jg1.han@samsung.com>
Tue, 12 Nov 2013 23:09:28 +0000 (15:09 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:19 +0000 (12:09 +0900)
commit0a1c55d0212661a582e9b4688410ccf9d4b163e8
tree6640d40ba91097d18ff1ea8a87c9e4b7d5e587cb
parent5690378efa8b232161d4cae5d9650da85c88ab1f
backlight: lms283gf05: 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/lms283gf05.c