aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/phy/qualcomm/phy-qcom-qmp.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2018-08-27 20:52:40 -0500
committerKishon Vijay Abraham I <kishon@ti.com>2018-09-25 16:10:07 +0530
commitac9ba7dc8613773b037a96af24f381ef230ef1ae (patch)
tree52f20c37784ba1c99c5c5f57ce94eb9d2266eb37 /drivers/phy/qualcomm/phy-qcom-qmp.c
parentdt-bindings: rcar-gen3-phy-usb3: Add r8a774a1 support (diff)
downloadlinux-dev-ac9ba7dc8613773b037a96af24f381ef230ef1ae.tar.xz
linux-dev-ac9ba7dc8613773b037a96af24f381ef230ef1ae.zip
phy: Convert to using %pOFn instead of device_node.name
In preparation to remove the node name pointer from struct device_node, convert printf users to use the %pOFn format specifier. Cc: Kishon Vijay Abraham I <kishon@ti.com> Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy/qualcomm/phy-qcom-qmp.c')
-rw-r--r--drivers/phy/qualcomm/phy-qcom-qmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.c b/drivers/phy/qualcomm/phy-qcom-qmp.c
index 72efc2e14ab6..7932931a3da3 100644
--- a/drivers/phy/qualcomm/phy-qcom-qmp.c
+++ b/drivers/phy/qualcomm/phy-qcom-qmp.c
@@ -1400,7 +1400,7 @@ static int phy_pipe_clk_register(struct qcom_qmp *qmp, struct device_node *np)
ret = of_property_read_string(np, "clock-output-names", &init.name);
if (ret) {
- dev_err(qmp->dev, "%s: No clock-output-names\n", np->name);
+ dev_err(qmp->dev, "%pOFn: No clock-output-names\n", np);
return ret;
}