diff options
author | Rob Herring <robh@kernel.org> | 2018-08-28 18:44:32 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-08 08:41:07 +0300 |
commit | 0b9871a3a8cc7234c285b5d9bf66cc6712cfee7c (patch) | |
tree | a3420867feb30634ec0a63228ee260d32606fbaa /arch/sparc/kernel/auxio_64.c | |
parent | 76ebebd2464c5c8a4453c98b6dbf9c95a599e810 (diff) | |
download | linux-0b9871a3a8cc7234c285b5d9bf66cc6712cfee7c.tar.xz |
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.c | 4 |
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"); |