Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932130AbaDVJ0r (ORCPT ); Tue, 22 Apr 2014 05:26:47 -0400 Received: from ns.mm-sol.com ([37.157.136.199]:53524 "EHLO extserv.mm-sol.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754939AbaDVJVk (ORCPT ); Tue, 22 Apr 2014 05:21:40 -0400 From: "Ivan T. Ivanov" To: Felipe Balbi Cc: "Ivan T. Ivanov" , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v6 09/19] usb: phy: msm: Remove HSUSB prefix from regulator names Date: Tue, 22 Apr 2014 12:20:28 +0300 Message-Id: <1398158438-21579-10-git-send-email-iivanov@mm-sol.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1398158438-21579-1-git-send-email-iivanov@mm-sol.com> References: <1398158438-21579-1-git-send-email-iivanov@mm-sol.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "Ivan T. Ivanov" 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 --- 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 9b0f683..6b44826 100644 --- a/drivers/usb/phy/phy-msm-usb.c +++ b/drivers/usb/phy/phy-msm-usb.c @@ -1417,19 +1417,19 @@ static int msm_otg_probe(struct platform_device *pdev) return motg->irq; } - motg->vddcx = devm_regulator_get(motg->phy.dev, "HSUSB_VDDCX"); + motg->vddcx = devm_regulator_get(motg->phy.dev, "vddcx"); if (IS_ERR(motg->vddcx)) { dev_err(motg->phy.dev, "unable to get hsusb vddcx\n"); return PTR_ERR(motg->vddcx); } - motg->v3p3 = devm_regulator_get(motg->phy.dev, "HSUSB_3p3"); + motg->v3p3 = devm_regulator_get(motg->phy.dev, "v3p3"); if (IS_ERR(motg->v3p3)) { dev_err(motg->phy.dev, "unable to get hsusb 3p3\n"); return PTR_ERR(motg->v3p3); } - motg->v1p8 = devm_regulator_get(motg->phy.dev, "HSUSB_1p8"); + motg->v1p8 = devm_regulator_get(motg->phy.dev, "v1p8"); if (IS_ERR(motg->v1p8)) { dev_err(motg->phy.dev, "unable to get hsusb 1p8\n"); return PTR_ERR(motg->v1p8); -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/