backlight: generic_bl: use devm_backlight_device_register()
authorJingoo Han <jg1.han@samsung.com>
Tue, 12 Nov 2013 23:09:15 +0000 (15:09 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:17 +0000 (12:09 +0900)
commitde2efd2a9ffba56eb0c00a48346685baa377c370
treebc115cfd0f3b1161a5083e0faa585bc6317c63f1
parent23741ada20103cda6a39fad9eb0171757ef997ff
backlight: generic_bl: use devm_backlight_device_register()

Use devm_backlight_device_register() to make cleanup paths simpler.

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