2014-04-28 13:36:10

by Ivan T. Ivanov

[permalink] [raw]
Subject: [PATCH v8 10/20] usb: phy: msm: Remove HSUSB prefix from regulator names

From: "Ivan T. Ivanov" <[email protected]>

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 <[email protected]>
---
drivers/usb/phy/phy-msm-usb.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/usb/phy/phy-msm-usb.c b/drivers/usb/phy/phy-msm-usb.c
index c2361bf..bd9e286 100644
--- a/drivers/usb/phy/phy-msm-usb.c
+++ b/drivers/usb/phy/phy-msm-usb.c
@@ -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)
--
1.8.3.2