leds: lp55xx-common: fix sysfs entry leak
authorJohan Hovold <johan@kernel.org>
Wed, 25 Jun 2014 17:08:55 +0000 (10:08 -0700)
committerBryan Wu <cooloney@gmail.com>
Fri, 27 Jun 2014 20:44:04 +0000 (13:44 -0700)
commit660216bf82e0cd65603c0935193c1f7c4aca04fb
tree811bc2854eb9dbeeb9eaff80d07783b41c18b53b
parentf254bea49d05ee80b09d577947bd3b937e3a304a
leds: lp55xx-common: fix sysfs entry leak

Make sure the sysfs group is removed when the LEDs are unregistered.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
drivers/leds/leds-lp55xx-common.c