net: phy: Convert to using %pOFn instead of device_node.name
Subsystems (3)
PATCH RESEND 1/1 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 <[email protected]>
Cc "David S. Miller" <[email protected]>
Reviewed-by Florian Fainelli <[email protected]>
Signed-off-by Rob Herring <[email protected]>
---
David, Resending because you superseded this one for some reason. It shouldn't be. Perhaps because the subject was similar to others?
Rob
drivers/net/phy/mdio-thunder.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/phy/mdio-thunder.c +2 -2
@@ -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 ; }
Signature · 1 line
2.17.1
From: Rob Herring <[email protected]>
Date: Fri, 28 Sep 2018 17:04:59 -0500
Quoted 11 lines
In preparation to remove the node name pointer from struct
device_node, convert printf users to use the %pOFn format specifier.Cc Andrew Lunn <[email protected]>Cc "David S. Miller" <[email protected]>Reviewed-by Florian Fainelli <[email protected]>Signed-off-by Rob Herring <[email protected]>---
David, Resending because you superseded this one for some reason. It shouldn't be. Perhaps because the subject was similar to others?
Applied, thanks.