Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
[linux-2.6-microblaze.git] / drivers / regulator / wm8994-regulator.c
index a612c35..8f2a8a7 100644 (file)
@@ -185,8 +185,6 @@ static int wm8994_ldo_remove(struct platform_device *pdev)
 {
        struct wm8994_ldo *ldo = platform_get_drvdata(pdev);
 
-       platform_set_drvdata(pdev, NULL);
-
        regulator_unregister(ldo->regulator);
 
        return 0;