|
@@ -1116,8 +1116,8 @@ static int rockchip_usb2phy_probe(struct platform_device *pdev)
|
|
|
}
|
|
|
|
|
|
if (of_property_read_u32(np, "reg", ®)) {
|
|
|
- dev_err(dev, "the reg property is not assigned in %s node\n",
|
|
|
- np->name);
|
|
|
+ dev_err(dev, "the reg property is not assigned in %pOFn node\n",
|
|
|
+ np);
|
|
|
return -EINVAL;
|
|
|
}
|
|
|
|
|
@@ -1143,8 +1143,8 @@ static int rockchip_usb2phy_probe(struct platform_device *pdev)
|
|
|
}
|
|
|
|
|
|
if (!rphy->phy_cfg) {
|
|
|
- dev_err(dev, "no phy-config can be matched with %s node\n",
|
|
|
- np->name);
|
|
|
+ dev_err(dev, "no phy-config can be matched with %pOFn node\n",
|
|
|
+ np);
|
|
|
return -EINVAL;
|
|
|
}
|
|
|
|