Commit aa2eb860 authored by Rob Herring's avatar Rob Herring Committed by Greg Kroah-Hartman

misc: 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: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Acked-by: default avatarAndrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 162aa53b
...@@ -92,8 +92,8 @@ static int update_property(struct device_node *dn, const char *name, ...@@ -92,8 +92,8 @@ static int update_property(struct device_node *dn, const char *name,
val = (u32 *)new_prop->value; val = (u32 *)new_prop->value;
rc = cxl_update_properties(dn, new_prop); rc = cxl_update_properties(dn, new_prop);
pr_devel("%s: update property (%s, length: %i, value: %#x)\n", pr_devel("%pOFn: update property (%s, length: %i, value: %#x)\n",
dn->name, name, vd, be32_to_cpu(*val)); dn, name, vd, be32_to_cpu(*val));
if (rc) { if (rc) {
kfree(new_prop->name); kfree(new_prop->name);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment