diff options
author | Rob Herring <robh@kernel.org> | 2017-07-18 23:43:27 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-20 21:37:10 +0200 |
commit | 8cd3ec51c0c329e996cb5b366355524eab694cd2 (patch) | |
tree | e1f7aad8ae8d8de4c2f8f54189b69fc0d9c35445 /drivers/sbus/char/uctrl.c | |
parent | sparc: defconfig: Cleanup from old Kconfig options (diff) | |
download | linux-8cd3ec51c0c329e996cb5b366355524eab694cd2.tar.xz linux-8cd3ec51c0c329e996cb5b366355524eab694cd2.zip |
sbus: 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.
Signed-off-by: Rob Herring <robh@kernel.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: sparclinux@vger.kernel.org
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/sbus/char/uctrl.c')
-rw-r--r-- | drivers/sbus/char/uctrl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/sbus/char/uctrl.c b/drivers/sbus/char/uctrl.c index 57696fc0b482..0a5013350acd 100644 --- a/drivers/sbus/char/uctrl.c +++ b/drivers/sbus/char/uctrl.c @@ -379,8 +379,8 @@ static int uctrl_probe(struct platform_device *op) } sbus_writel(UCTRL_INTR_RXNE_REQ|UCTRL_INTR_RXNE_MSK, &p->regs->uctrl_intr); - printk(KERN_INFO "%s: uctrl regs[0x%p] (irq %d)\n", - op->dev.of_node->full_name, p->regs, p->irq); + printk(KERN_INFO "%pOF: uctrl regs[0x%p] (irq %d)\n", + op->dev.of_node, p->regs, p->irq); uctrl_get_event_status(p); uctrl_get_external_status(p); |