aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lechner <david@lechnology.com>2016-09-05 15:45:46 -0400
committerKishon Vijay Abraham I <kishon@ti.com>2016-09-10 07:19:00 -0400
commit4033d95218489375f598e89e99fcc6e4b4321732 (patch)
treea28aa9397e5d74e326f15a8bcce08556d22c05c9
parent33692e3c2aa672ea2806a00fdb0218547f6738e5 (diff)
phy: da8xx-usb: Fix syscon device name
The syscon device in board config/device tree has been renamed. Signed-off-by: David Lechner <david@lechnology.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
-rw-r--r--drivers/phy/phy-da8xx-usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/phy-da8xx-usb.c b/drivers/phy/phy-da8xx-usb.c
index b2e59b6170ac..32ae78c8ca17 100644
--- a/drivers/phy/phy-da8xx-usb.c
+++ b/drivers/phy/phy-da8xx-usb.c
@@ -154,7 +154,7 @@ static int da8xx_usb_phy_probe(struct platform_device *pdev)
154 d_phy->regmap = syscon_regmap_lookup_by_compatible( 154 d_phy->regmap = syscon_regmap_lookup_by_compatible(
155 "ti,da830-cfgchip"); 155 "ti,da830-cfgchip");
156 else 156 else
157 d_phy->regmap = syscon_regmap_lookup_by_pdevname("syscon.0"); 157 d_phy->regmap = syscon_regmap_lookup_by_pdevname("syscon");
158 if (IS_ERR(d_phy->regmap)) { 158 if (IS_ERR(d_phy->regmap)) {
159 dev_err(dev, "Failed to get syscon\n"); 159 dev_err(dev, "Failed to get syscon\n");
160 return PTR_ERR(d_phy->regmap); 160 return PTR_ERR(d_phy->regmap);