misc: Convert to using %pOFn instead of device_node.name
authorRob Herring <[email protected]>
Tue, 28 Aug 2018 01:52:32 +0000 (20:52 -0500)
committerGreg Kroah-Hartman <[email protected]>
Fri, 14 Sep 2018 13:25:57 +0000 (15:25 +0200)
In preparation to remove the node name pointer from struct device_node,
convert printf users to use the %pOFn format specifier.

Cc: Frederic Barrat <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: [email protected]
Signed-off-by: Rob Herring <[email protected]>
Acked-by: Andrew Donnellan <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/misc/cxl/flash.c

index 43917898fb9a86faad439758a2ba9640adc2b3c9..4d6836f194898041765fed9d8b0da46ec9a7758f 100644 (file)
@@ -92,8 +92,8 @@ static int update_property(struct device_node *dn, const char *name,
 
        val = (u32 *)new_prop->value;
        rc = cxl_update_properties(dn, new_prop);
-       pr_devel("%s: update property (%s, length: %i, value: %#x)\n",
-                 dn->name, name, vd, be32_to_cpu(*val));
+       pr_devel("%pOFn: update property (%s, length: %i, value: %#x)\n",
+                 dn, name, vd, be32_to_cpu(*val));
 
        if (rc) {
                kfree(new_prop->name);