summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/usb_phy.c
diff options
context:
space:
mode:
authorPenny Chiu <pchiu@nvidia.com>2012-07-25 15:35:25 +0800
committerSimone Willett <swillett@nvidia.com>2012-07-31 14:58:31 -0700
commit31ff5d8c3831dccb12a9c6841cd04c81aafed2b5 (patch)
treeda9a27bdaaabd3dc58919b097ea083c3bb366f7e /arch/arm/mach-tegra/usb_phy.c
parent83cbddb8a215bdc02c44c046c9fdaae9801bbab7 (diff)
arm: tegra: usb_phy: Separate the consumer supply
Add usb host controller device names for avdd_usb consumer supply. This change will make all usb host controller devices have separate regulator debugfs. Bug 946361 Change-Id: I8f2a49bffc4623eac2e3f71333b602fb7a6caf7d Signed-off-by: Penny Chiu <pchiu@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/usb_phy.c')
-rw-r--r--arch/arm/mach-tegra/usb_phy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/usb_phy.c b/arch/arm/mach-tegra/usb_phy.c
index 80a3337e58fe..aed8ec2bf9d8 100644
--- a/arch/arm/mach-tegra/usb_phy.c
+++ b/arch/arm/mach-tegra/usb_phy.c
@@ -276,7 +276,7 @@ struct tegra_usb_phy *tegra_usb_phy_open(struct platform_device *pdev)
goto fail_io;
}
- phy->vdd_reg = regulator_get(NULL, "avdd_usb");
+ phy->vdd_reg = regulator_get(&pdev->dev, "avdd_usb");
if (IS_ERR_OR_NULL(phy->vdd_reg)) {
ERR("inst:[%d] couldn't get regulator avdd_usb: %ld\n",
phy->inst, PTR_ERR(phy->vdd_reg));