]> git.karo-electronics.de Git - karo-tx-linux.git/commit
backlight: 88pm860x_bl: use devm_backlight_device_register()
authorJingoo Han <jg1.han@samsung.com>
Tue, 5 Nov 2013 05:56:21 +0000 (16:56 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 05:56:21 +0000 (16:56 +1100)
commit167a752c297c88060a9221bf28958ee951a1ba47
tree36cb0e7366f9eebe21cfff61a8886674da6f6d59
parent472a418163f5a223265a6314093178365ec75e09
backlight: 88pm860x_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/88pm860x_bl.c