forked from Minki/linux
net: phy: Convert to using %pOFn instead of device_node.name
In preparation to remove the node name pointer from struct device_node, convert printf users to use the %pOFn format specifier. Cc: Andrew Lunn <andrew@lunn.ch> Cc: "David S. Miller" <davem@davemloft.net> Cc: netdev@vger.kernel.org Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
fb420d5d91
commit
024926def6
@ -73,8 +73,8 @@ static int thunder_mdiobus_pci_probe(struct pci_dev *pdev,
|
||||
err = of_address_to_resource(node, 0, &r);
|
||||
if (err) {
|
||||
dev_err(&pdev->dev,
|
||||
"Couldn't translate address for \"%s\"\n",
|
||||
node->name);
|
||||
"Couldn't translate address for \"%pOFn\"\n",
|
||||
node);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user