aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/regulator/tps6524x-regulator.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/regulator/tps6524x-regulator.c b/drivers/regulator/tps6524x-regulator.c
index 62e8d28beabd..8b9ee3983a6c 100644
--- a/drivers/regulator/tps6524x-regulator.c
+++ b/drivers/regulator/tps6524x-regulator.c
@@ -588,7 +588,6 @@ static int pmic_remove(struct spi_device *spi)
588 regulator_unregister(hw->rdev[i]); 588 regulator_unregister(hw->rdev[i]);
589 hw->rdev[i] = NULL; 589 hw->rdev[i] = NULL;
590 } 590 }
591 spi_set_drvdata(spi, NULL);
592 return 0; 591 return 0;
593} 592}
594 593