bus: mvebu-mbus: Convert to using %pOFn instead of device_node.name
authorRob Herring <robh@kernel.org>
Tue, 28 Aug 2018 00:51:50 +0000 (19:51 -0500)
committerRob Herring <robh@kernel.org>
Fri, 28 Sep 2018 21:41:57 +0000 (16:41 -0500)
In preparation to remove the node name pointer from struct device_node,
convert printf users to use the %pOFn format specifier.

Signed-off-by: Rob Herring <robh@kernel.org>
drivers/bus/mvebu-mbus.c

index 70db4d5..5b2a11a 100644 (file)
@@ -1229,7 +1229,7 @@ mbus_parse_ranges(struct device_node *node,
        tuple_len = (*cell_count) * sizeof(__be32);
 
        if (ranges_len % tuple_len) {
-               pr_warn("malformed ranges entry '%s'\n", node->name);
+               pr_warn("malformed ranges entry '%pOFn'\n", node);
                return -EINVAL;
        }
        return 0;