]> git.karo-electronics.de Git - karo-tx-linux.git/commit
backlight: tps65217_bl: use devm_backlight_device_register()
authorJingoo Han <jg1.han@samsung.com>
Tue, 5 Nov 2013 05:56:32 +0000 (16:56 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 05:56:32 +0000 (16:56 +1100)
commit721754a9b2be836163c6a33c6e7336b4245a525a
tree4e9055ba014db946dc3b5e5159514f6af6b4c53c
parent8e923222e2beea11485eba138aff3bc3b326ce38
backlight: tps65217_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/tps65217_bl.c