backlight: hx8357: use devm_lcd_device_register()
authorJingoo Han <jg1.han@samsung.com>
Tue, 12 Nov 2013 23:09:25 +0000 (15:09 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:19 +0000 (12:09 +0900)
commitea5092c890ed093297554e0216188543ee445068
tree5797cbab152e85fcc91a300a59ba678ba91562cd
parentf369e664498c8e73f24d137f5356bb3492917bc2
backlight: hx8357: 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/hx8357.c