]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
net: phy: Convert to using %pOFn instead of device_node.name
authorRob Herring <robh@kernel.org>
Fri, 28 Sep 2018 22:04:59 +0000 (17:04 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Oct 2018 06:29:37 +0000 (23:29 -0700)
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>
drivers/net/phy/mdio-thunder.c

index 564616968cad4ab86e6fe13ab99fbc4b1dedeb84..1546f63988319ea8857b6e9b56185ab97d4d3d1d 100644 (file)
@@ -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;
                }