]> git.karo-electronics.de Git - karo-tx-linux.git/commit
backlight: jornada720: 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)
commita78001abe777ebd3e2a171943584eda033fa3a43
treeb040293c4eb5ae4aa3a3080f51f1ba3c5d2d2ef3
parenta603624aa7caa0c1d14a60a81e0b316886677b12
backlight: jornada720: 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>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/video/backlight/jornada720_lcd.c