summaryrefslogtreecommitdiff
path: root/drivers/bus
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2018-08-28 03:51:50 +0300
committerRob Herring <robh@kernel.org>2018-09-29 00:41:57 +0300
commitc655f7ea4d881a607001de44bd6d7f5a2842b305 (patch)
tree6e74523608ed40e62ffe0a11208465e4740a90a2 /drivers/bus
parent6b825b17f47888ed790afe7d8a00a98dd3667f96 (diff)
downloadlinux-c655f7ea4d881a607001de44bd6d7f5a2842b305.tar.xz
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: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/bus')
-rw-r--r--drivers/bus/mvebu-mbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bus/mvebu-mbus.c b/drivers/bus/mvebu-mbus.c
index 70db4d5638a6..5b2a11a88951 100644
--- a/drivers/bus/mvebu-mbus.c
+++ b/drivers/bus/mvebu-mbus.c
@@ -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;