]> git.karo-electronics.de Git - karo-tx-linux.git/commit
backlight: lp855x: use devm_backlight_device_register()
authorJingoo Han <jg1.han@samsung.com>
Tue, 5 Nov 2013 05:56:30 +0000 (16:56 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 05:56:30 +0000 (16:56 +1100)
commit97daf53055d0ca11157c97a90a6feee0b7d50837
treef06c8b03cf90206eaefa4f86dd6ab8b5c1d913fa
parent2c798ed05d682bd4209b6b4546dd130af8a5dcc6
backlight: lp855x: use devm_backlight_device_register()

Use devm_backlight_device_register() to make cleanup paths simpler.  Also,
unnecessary lp855x_backlight_unregister() is removed.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/video/backlight/lp855x_bl.c