diff options
author | Rob Herring <robh@kernel.org> | 2018-08-28 10:44:32 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-07 22:41:07 -0700 |
commit | 0b9871a3a8cc7234c285b5d9bf66cc6712cfee7c (patch) | |
tree | a3420867feb30634ec0a63228ee260d32606fbaa /arch/sparc/kernel/power.c | |
parent | 76ebebd2464c5c8a4453c98b6dbf9c95a599e810 (diff) | |
download | linux-0b9871a3a8cc7234c285b5d9bf66cc6712cfee7c.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.
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/power.c')
-rw-r--r-- | arch/sparc/kernel/power.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/power.c b/arch/sparc/kernel/power.c index 92627abce311..d941875dd718 100644 --- a/arch/sparc/kernel/power.c +++ b/arch/sparc/kernel/power.c @@ -41,8 +41,8 @@ static int power_probe(struct platform_device *op) power_reg = of_ioremap(res, 0, 0x4, "power"); - printk(KERN_INFO "%s: Control reg at %llx\n", - op->dev.of_node->name, res->start); + printk(KERN_INFO "%pOFn: Control reg at %llx\n", + op->dev.of_node, res->start); if (has_button_interrupt(irq, op->dev.of_node)) { if (request_irq(irq, |