Commit c655f7ea authored by Rob Herring's avatar Rob Herring

bus: mvebu-mbus: 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.
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 6b825b17
...@@ -1229,7 +1229,7 @@ mbus_parse_ranges(struct device_node *node, ...@@ -1229,7 +1229,7 @@ mbus_parse_ranges(struct device_node *node,
tuple_len = (*cell_count) * sizeof(__be32); tuple_len = (*cell_count) * sizeof(__be32);
if (ranges_len % tuple_len) { 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 -EINVAL;
} }
return 0; return 0;
......
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