diff options
author | Rob Herring <robh@kernel.org> | 2018-11-16 15:06:54 -0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-18 13:35:19 -0800 |
commit | a412c85aa82a5c8d585b08808aeefcd186712bb5 (patch) | |
tree | bf7216c8fe39c0beb00ffb18511b01bc93b696d3 /arch/sparc/kernel/sbus.c | |
parent | f3180e1828e63eae22269ec81ab627f647d43f39 (diff) | |
download | linux-a412c85aa82a5c8d585b08808aeefcd186712bb5.tar.bz2 |
sparc: Convert to using %pOF instead of full_name
Now that we have a custom printf format specifier, convert users of
full_name to use %pOF instead. This is preparation to remove storing
of the full path string for each node.
Cc: "David S. Miller" <davem@davemloft.net>
Cc: sparclinux@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/sbus.c')
-rw-r--r-- | arch/sparc/kernel/sbus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/sbus.c b/arch/sparc/kernel/sbus.c index c133dfc37c5c..41c5deb581b8 100644 --- a/arch/sparc/kernel/sbus.c +++ b/arch/sparc/kernel/sbus.c @@ -67,8 +67,8 @@ void sbus_set_sbus64(struct device *dev, int bursts) regs = of_get_property(op->dev.of_node, "reg", NULL); if (!regs) { - printk(KERN_ERR "sbus_set_sbus64: Cannot find regs for %s\n", - op->dev.of_node->full_name); + printk(KERN_ERR "sbus_set_sbus64: Cannot find regs for %pOF\n", + op->dev.of_node); return; } slot = regs->which_io; |