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>
This commit is contained in:

committed by
David S. Miller

parent
45fc0113cc
commit
8cd3ec51c0
@@ -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" : "");
|
||||
|
Reference in New Issue
Block a user