mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
Revert "sparc: Convert to using %pOFn instead of device_node.name"
This reverts commit0b9871a3a8
. Causes crashes with qemu, interacts badly with commit commit6d0a70a284
("vsprintf: print OF node name using full_name") etc. Reported-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
d1f1f98c6d
commit
a06ecbfe78
4 changed files with 51 additions and 51 deletions
|
@ -41,8 +41,8 @@ static int power_probe(struct platform_device *op)
|
|||
|
||||
power_reg = of_ioremap(res, 0, 0x4, "power");
|
||||
|
||||
printk(KERN_INFO "%pOFn: Control reg at %llx\n",
|
||||
op->dev.of_node, res->start);
|
||||
printk(KERN_INFO "%s: Control reg at %llx\n",
|
||||
op->dev.of_node->name, res->start);
|
||||
|
||||
if (has_button_interrupt(irq, op->dev.of_node)) {
|
||||
if (request_irq(irq,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue