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