backlight: tosa: use devm_backlight_device_register()
authorJingoo Han <jg1.han@samsung.com>
Thu, 23 Jan 2014 23:54:28 +0000 (15:54 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 24 Jan 2014 00:36:56 +0000 (16:36 -0800)
commitffb1f6c83b273f2b7aac207ad2220c28d3cfa44a
treeee6610f43a09079a720c8a22c56a401b82cda06a
parent443956fdd501bdfa8471191ef23d1432ea5fa928
backlight: tosa: 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/tosa_bl.c