summaryrefslogtreecommitdiffstats
path: root/drivers/rpmsg/qcom_glink_smem.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2018-08-28 03:52:43 +0200
committerBjorn Andersson <bjorn.andersson@linaro.org>2018-08-28 05:07:15 +0200
commitc8a54c0c9a7dbb8b99851e3a9cb2dacabf3b80c6 (patch)
treeb876e0a5c6f3dda0cb70826c82e0c2ea823df9dd /drivers/rpmsg/qcom_glink_smem.c
parentrpmsg: char: Migrate to iter versions of read and write (diff)
downloadlinux-c8a54c0c9a7dbb8b99851e3a9cb2dacabf3b80c6.tar.xz
linux-c8a54c0c9a7dbb8b99851e3a9cb2dacabf3b80c6.zip
rpmsg: 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: Ohad Ben-Cohen <ohad@wizery.com> Cc: Bjorn Andersson <bjorn.andersson@linaro.org> Cc: linux-remoteproc@vger.kernel.org Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/rpmsg/qcom_glink_smem.c')
-rw-r--r--drivers/rpmsg/qcom_glink_smem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rpmsg/qcom_glink_smem.c b/drivers/rpmsg/qcom_glink_smem.c
index 2b5cf2790954..ab23da3d7131 100644
--- a/drivers/rpmsg/qcom_glink_smem.c
+++ b/drivers/rpmsg/qcom_glink_smem.c
@@ -205,7 +205,7 @@ struct qcom_glink *qcom_glink_smem_register(struct device *parent,
dev->parent = parent;
dev->of_node = node;
dev->release = qcom_glink_smem_release;
- dev_set_name(dev, "%s:%s", node->parent->name, node->name);
+ dev_set_name(dev, "%pOFn:%pOFn", node->parent, node);
ret = device_register(dev);
if (ret) {
pr_err("failed to register glink edge\n");