Skip to contentSkip to conversation

phy: da8xx-usb: Fix syscon device name

PATCH Applied David Lechner 2 participants 2 messages Sep 5, 2016 – Sep 6, 2016 Generic PHY framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 phy: da8xx-usb: Fix syscon device name

The syscon device in board config/device tree has been renamed.

---

This is a follow-up of the "da8xx USB PHY platform devices and clocks" patch series. Just a small but important detail that slipped through the cracks.

 drivers/phy/phy-da8xx-usb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/phy/phy-da8xx-usb.c +1 -1
index b2e59b6..32ae78c 100644
@@ -154,7 +154,7 @@ static int da8xx_usb_phy_probe(struct platform_device *pdev)
 		d_phy->regmap = syscon_regmap_lookup_by_compatible(
 							"ti,da830-cfgchip");
 	else
-		d_phy->regmap = syscon_regmap_lookup_by_pdevname("syscon.0");
+		d_phy->regmap = syscon_regmap_lookup_by_pdevname("syscon");
 	if (IS_ERR(d_phy->regmap)) {
 		dev_err(dev, "Failed to get syscon\n");
 		return PTR_ERR(d_phy->regmap);
Signature · 1 line
2.7.4
#1 lore raw
Quoted 3 lines · David Lechner

The syscon device in board config/device tree has been renamed.

merged, thanks.

-Kishon

Quoted 22 lines

---

This is a follow-up of the "da8xx USB PHY platform devices and clocks" patch series. Just a small but important detail that slipped through the cracks.

 drivers/phy/phy-da8xx-usb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/phy/phy-da8xx-usb.c +1 -1
index b2e59b6..32ae78c 100644
@@ -154,7 +154,7 @@ static int da8xx_usb_phy_probe(struct platform_device *pdev)
 		d_phy->regmap = syscon_regmap_lookup_by_compatible(
 							"ti,da830-cfgchip");
 	else
-		d_phy->regmap = syscon_regmap_lookup_by_pdevname("syscon.0");
+		d_phy->regmap = syscon_regmap_lookup_by_pdevname("syscon");
 	if (IS_ERR(d_phy->regmap)) {
 		dev_err(dev, "Failed to get syscon\n");
 		return PTR_ERR(d_phy->regmap);