phy: da8xx-usb: Fix syscon device name
authorDavid Lechner <david@lechnology.com>
Mon, 5 Sep 2016 19:45:46 +0000 (14:45 -0500)
committerKishon Vijay Abraham I <kishon@ti.com>
Sat, 10 Sep 2016 11:19:00 +0000 (16:49 +0530)
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>
drivers/phy/phy-da8xx-usb.c

index b2e59b6..32ae78c 100644 (file)
@@ -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);