backlight: hp680_bl: use devm_backlight_device_register()
authorJingoo Han <jg1.han@samsung.com>
Thu, 23 Jan 2014 23:54:25 +0000 (15:54 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 24 Jan 2014 00:36:56 +0000 (16:36 -0800)
commit0561c1794a0df435631474a99c24220b9fc1bbfe
tree76844f16a57406b2ab3c8a5bf1105a2b1e966766
parent0ec585d320acb3e9c33b2b2ba9cefb4a62483d42
backlight: hp680_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>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/backlight/hp680_bl.c