backlight: aat2870: use devm_backlight_device_register()
authorJingoo Han <jg1.han@samsung.com>
Tue, 12 Nov 2013 23:09:06 +0000 (15:09 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:16 +0000 (12:09 +0900)
commitc7a2bf3b217869f277c5cce229e482ef3bf5ad16
treee746e0fb39a9b3a77e4f62616655dfb42491244d
parentf829c9ef826a4247ac2e6017632be266df0b13ae
backlight: aat2870: 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/aat2870_bl.c