summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/auxio_64.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2018-11-16 15:06:57 -0600
committerDavid S. Miller <davem@davemloft.net>2018-11-18 13:35:20 -0800
commitead1c2bdedcb98217f95430e41bf282326edc8d4 (patch)
tree87b28479bb5c06db2a288eb9ce1da2f681d53d51 /arch/sparc/kernel/auxio_64.c
parentbb31f9eb4abef1b7e2524a36f60e221937dc6fab (diff)
downloadlinux-ead1c2bdedcb98217f95430e41bf282326edc8d4.tar.bz2
sparc: 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. This was originally applied for 4.19, but reverted. The problematic changes to prom_{32,64}.c have been dropped. 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/auxio_64.c')
-rw-r--r--arch/sparc/kernel/auxio_64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/auxio_64.c b/arch/sparc/kernel/auxio_64.c
index 6145658d915a..e1b10f88ffb4 100644
--- a/arch/sparc/kernel/auxio_64.c
+++ b/arch/sparc/kernel/auxio_64.c
@@ -115,8 +115,8 @@ static int auxio_probe(struct platform_device *dev)
auxio_devtype = AUXIO_TYPE_SBUS;
size = 1;
} else {
- printk("auxio: Unknown parent bus type [%s]\n",
- dp->parent->name);
+ printk("auxio: Unknown parent bus type [%pOFn]\n",
+ dp->parent);
return -ENODEV;
}
auxio_register = of_ioremap(&dev->resource[0], 0, size, "auxio");