aboutsummaryrefslogtreecommitdiff
path: root/drivers/regulator/mc13892-regulator.c
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-07-04 11:14:12 +0100
committerMark Brown <broonie@linaro.org>2013-07-04 11:14:12 +0100
commitabca37cd2e12a898289f2392c1658e711005535b (patch)
tree60453bb7fa783e86abea7b89ece8ed4aea9fe6ca /drivers/regulator/mc13892-regulator.c
parent8d0509e9d6e1303acb40f53f5158fceec46e86e7 (diff)
parent1baa3b4e06f1e03f4fbbbc3734ea3b9a7a1134ec (diff)
Merge remote-tracking branch 'regulator/fix/s5m8767' into regulator-linus
Diffstat (limited to 'drivers/regulator/mc13892-regulator.c')
-rw-r--r--drivers/regulator/mc13892-regulator.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/regulator/mc13892-regulator.c b/drivers/regulator/mc13892-regulator.c
index b716283a876..1037e07937c 100644
--- a/drivers/regulator/mc13892-regulator.c
+++ b/drivers/regulator/mc13892-regulator.c
@@ -636,8 +636,6 @@ static int mc13892_regulator_remove(struct platform_device *pdev)
struct mc13xxx_regulator_priv *priv = platform_get_drvdata(pdev);
int i;
- platform_set_drvdata(pdev, NULL);
-
for (i = 0; i < priv->num_regulators; i++)
regulator_unregister(priv->regulators[i]);