aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/88pm860x_battery.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/88pm860x_battery.c')
-rw-r--r--drivers/power/88pm860x_battery.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/power/88pm860x_battery.c b/drivers/power/88pm860x_battery.c
index d338c1c4e8c8..dfcda3a49403 100644
--- a/drivers/power/88pm860x_battery.c
+++ b/drivers/power/88pm860x_battery.c
@@ -992,7 +992,6 @@ static int pm860x_battery_remove(struct platform_device *pdev)
free_irq(info->irq_batt, info);
free_irq(info->irq_cc, info);
power_supply_unregister(&info->battery);
- platform_set_drvdata(pdev, NULL);
return 0;
}