drivers/video/backlight/s6e63m0.c: unregister backlight device and remove sysfs attri...
authorAxel Lin <axel.lin@gmail.com>
Thu, 11 Nov 2010 22:05:26 +0000 (14:05 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 12 Nov 2010 15:55:33 +0000 (07:55 -0800)
commitd974e00b955ee390e02ae2f0eeb5ed921599ec07
tree8d90df43838e3a2f313f1f71510c50e4b925f0b5
parent4dbdf8861a8ad83ef194f2c3a389a7b37c6f832e
drivers/video/backlight/s6e63m0.c: unregister backlight device and remove sysfs attribute file in s6e63m0_remove

s6e63m0_probe() registered backlight device and create sysfs attribute
files, thus s6e63m0_remove() should unregister backlight device and remove
sysfs attribute files.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Richard Purdie <rpurdie@linux.intel.com>
Cc: InKi Dae <inki.dae@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/backlight/s6e63m0.c