diff options
Diffstat (limited to 'drivers/power/pcf50633-charger.c')
-rw-r--r-- | drivers/power/pcf50633-charger.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/pcf50633-charger.c b/drivers/power/pcf50633-charger.c index 066f994e6fe5..4fa52e1781a2 100644 --- a/drivers/power/pcf50633-charger.c +++ b/drivers/power/pcf50633-charger.c | |||
@@ -456,6 +456,7 @@ static int __devexit pcf50633_mbc_remove(struct platform_device *pdev) | |||
456 | for (i = 0; i < ARRAY_SIZE(mbc_irq_handlers); i++) | 456 | for (i = 0; i < ARRAY_SIZE(mbc_irq_handlers); i++) |
457 | pcf50633_free_irq(mbc->pcf, mbc_irq_handlers[i]); | 457 | pcf50633_free_irq(mbc->pcf, mbc_irq_handlers[i]); |
458 | 458 | ||
459 | sysfs_remove_group(&pdev->dev.kobj, &mbc_attr_group); | ||
459 | power_supply_unregister(&mbc->usb); | 460 | power_supply_unregister(&mbc->usb); |
460 | power_supply_unregister(&mbc->adapter); | 461 | power_supply_unregister(&mbc->adapter); |
461 | power_supply_unregister(&mbc->ac); | 462 | power_supply_unregister(&mbc->ac); |