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

Use devm_backlight_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>
drivers/video/backlight/wm831x_bl.c