backlight: ili9320: use devm_lcd_device_register()
authorJingoo Han <jg1.han@samsung.com>
Tue, 12 Nov 2013 23:09:27 +0000 (15:09 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:19 +0000 (12:09 +0900)
commit5690378efa8b232161d4cae5d9650da85c88ab1f
tree86dc027d9c1bbf0d20e30ea4041f24a4e193513b
parenta7e9e3ffd7e80db0d5eb181bc5b3054604db7811
backlight: ili9320: use devm_lcd_device_register()

Use devm_lcd_device_register() to make cleanup paths simpler.

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/ili9320.c