diff options
author | Rob Herring <robh@kernel.org> | 2018-09-29 01:04:59 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-02 09:29:37 +0300 |
commit | 024926def6ca95819442699fbecc1fe376253fb9 (patch) | |
tree | ef07012bbd50a6072a15e26c5813d288fd5a12fb /drivers/net/phy | |
parent | fb420d5d91c1274d5966917725e71f27ed092a85 (diff) | |
download | linux-024926def6ca95819442699fbecc1fe376253fb9.tar.xz |
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>
Diffstat (limited to 'drivers/net/phy')
-rw-r--r-- | drivers/net/phy/mdio-thunder.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/phy/mdio-thunder.c b/drivers/net/phy/mdio-thunder.c index 564616968cad..1546f6398831 100644 --- a/drivers/net/phy/mdio-thunder.c +++ b/drivers/net/phy/mdio-thunder.c @@ -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; } |