summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/auxio_64.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2018-08-28 17:44:32 +0200
committerDavid S. Miller <davem@davemloft.net>2018-10-08 07:41:07 +0200
commit0b9871a3a8cc7234c285b5d9bf66cc6712cfee7c (patch)
treea3420867feb30634ec0a63228ee260d32606fbaa /arch/sparc/kernel/auxio_64.c
parentmach64: detect the dot clock divider correctly on sparc (diff)
downloadlinux-0b9871a3a8cc7234c285b5d9bf66cc6712cfee7c.tar.xz
linux-0b9871a3a8cc7234c285b5d9bf66cc6712cfee7c.zip
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. 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 4e8f56c3793c..cc42225c20f3 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");