]> Pileus Git - ~andy/linux/blobdiff - drivers/power/abx500_chargalg.c
drm/i915: Always prefer CPU relocations with LLC
[~andy/linux] / drivers / power / abx500_chargalg.c
index 9863e423602c247e92e5502fc801dc8b080b8cd9..6d2723664a01092674815010cc70cb3a16c70d87 100644 (file)
@@ -2035,7 +2035,6 @@ static int abx500_chargalg_remove(struct platform_device *pdev)
        destroy_workqueue(di->chargalg_wq);
 
        power_supply_unregister(&di->chargalg_psy);
-       platform_set_drvdata(pdev, NULL);
 
        return 0;
 }