]> git.karo-electronics.de Git - karo-tx-linux.git/commit
backlight: tosa: use devm_lcd_device_register()
authorJingoo Han <jg1.han@samsung.com>
Mon, 16 Dec 2013 23:45:27 +0000 (10:45 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 16 Dec 2013 23:45:27 +0000 (10:45 +1100)
commit25c11a631da5a66148f3c38bb0ea08bf12d33878
treec6abb80a3783bf2df43b7dd65ae9a1467009475e
parent6e7b596916aba0e2109ec8fe0516e9f676b942e3
backlight: tosa: use devm_lcd_device_register()

Use devm_lcd_device_register() to make cleanup paths simpler.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/video/backlight/tosa_lcd.c