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>
Šī revīzija ir iekļauta:

revīziju iesūtīja
David S. Miller

vecāks
45fc0113cc
revīzija
8cd3ec51c0
@@ -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);
|
||||
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user