OSDN Git Service

usb: phy: msm: Remove HSUSB prefix from regulator names
authorIvan T. Ivanov <iivanov@mm-sol.com>
Mon, 28 Apr 2014 13:34:13 +0000 (16:34 +0300)
committerFelipe Balbi <balbi@ti.com>
Wed, 30 Apr 2014 16:28:44 +0000 (11:28 -0500)
Prefix did not bring any useful information. Currently none
of the MSM platforms define these regulators, so it is safe
to rename them.

Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-msm-usb.c

index c2361bf..bd9e286 100644 (file)
@@ -1418,9 +1418,9 @@ static int msm_otg_probe(struct platform_device *pdev)
                return motg->irq;
        }
 
-       regs[0].supply = "HSUSB_VDDCX";
-       regs[1].supply = "HSUSB_3p3";
-       regs[2].supply = "HSUSB_1p8";
+       regs[0].supply = "vddcx";
+       regs[1].supply = "v3p3";
+       regs[2].supply = "v1p8";
 
        ret = devm_regulator_bulk_get(motg->phy.dev, ARRAY_SIZE(regs), regs);
        if (ret)