aboutsummaryrefslogtreecommitdiff
path: root/drivers/regulator/pcap-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/pcap-regulator.c
parent8d0509e9d6e1303acb40f53f5158fceec46e86e7 (diff)
parent1baa3b4e06f1e03f4fbbbc3734ea3b9a7a1134ec (diff)
Merge remote-tracking branch 'regulator/fix/s5m8767' into regulator-linus
Diffstat (limited to 'drivers/regulator/pcap-regulator.c')
-rw-r--r--drivers/regulator/pcap-regulator.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/regulator/pcap-regulator.c b/drivers/regulator/pcap-regulator.c
index 4899342f1fc..1a73a297fe7 100644
--- a/drivers/regulator/pcap-regulator.c
+++ b/drivers/regulator/pcap-regulator.c
@@ -260,7 +260,6 @@ static int pcap_regulator_remove(struct platform_device *pdev)
struct regulator_dev *rdev = platform_get_drvdata(pdev);
regulator_unregister(rdev);
- platform_set_drvdata(pdev, NULL);
return 0;
}