summaryrefslogtreecommitdiffstats
path: root/drivers/of/of_numa.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2018-08-27 20:00:19 -0500
committerRob Herring <robh@kernel.org>2018-09-07 11:04:41 -0500
commita613b26a50136ae90ab13943afe90bcbd34adb44 (patch)
treeae73468305d84211243721b857da21990ed11a8e /drivers/of/of_numa.c
parent6901378c799d2358a2e4eff9818266df73c3b216 (diff)
downloadlinux-a613b26a50136ae90ab13943afe90bcbd34adb44.tar.bz2
of: 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. Reviewed-by: Frank Rowand <frank.rowand@sony.com> Cc: Andrew Lunn <andrew@lunn.ch> Cc: Florian Fainelli <f.fainelli@gmail.com> Cc: netdev@vger.kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of/of_numa.c')
-rw-r--r--drivers/of/of_numa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/of/of_numa.c b/drivers/of/of_numa.c
index 27d9b4bba535..67d3386195bf 100644
--- a/drivers/of/of_numa.c
+++ b/drivers/of/of_numa.c
@@ -163,8 +163,8 @@ int of_node_to_nid(struct device_node *device)
np = of_get_next_parent(np);
}
if (np && r)
- pr_warn("Invalid \"numa-node-id\" property in node %s\n",
- np->name);
+ pr_warn("Invalid \"numa-node-id\" property in node %pOFn\n",
+ np);
of_node_put(np);
/*