USB: do not call disconnect callback func in dwc_otg_hcd_enable
[firefly-linux-kernel-4.4.55.git] / drivers / regulator / tps6105x-regulator.c
index a4d7f4540c180b14c722bb6813dc2993b8165b37..1011873896dc9205b4844aed9531de8cd9051531 100644 (file)
@@ -158,6 +158,7 @@ static int __devinit tps6105x_regulator_probe(struct platform_device *pdev)
                        "failed to register regulator\n");
                return ret;
        }
+       platform_set_drvdata(pdev, tps6105x);
 
        return 0;
 }