]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/regulator/pcap-regulator.c
regulator: Remove all platform_set_drvdata(pdev, NULL) in drivers
[karo-tx-linux.git] / drivers / regulator / pcap-regulator.c
index 4899342f1fc12cba02790a094c4be82f5ec30b15..1a73a297fe730533cc6be23469eee0014f6dbe80 100644 (file)
@@ -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;
 }