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/display7seg.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/display7seg.c')
-rw-r--r-- | drivers/sbus/char/display7seg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/sbus/char/display7seg.c b/drivers/sbus/char/display7seg.c index 04efed171c88..f32765d3cbd8 100644 --- a/drivers/sbus/char/display7seg.c +++ b/drivers/sbus/char/display7seg.c @@ -212,8 +212,8 @@ static int d7s_probe(struct platform_device *op) writeb(regs, p->regs); - printk(KERN_INFO PFX "7-Segment Display%s at [%s:0x%llx] %s\n", - op->dev.of_node->full_name, + printk(KERN_INFO PFX "7-Segment Display%pOF at [%s:0x%llx] %s\n", + op->dev.of_node, (regs & D7S_FLIP) ? " (FLIPPED)" : "", op->resource[0].start, sol_compat ? "in sol_compat mode" : ""); |