net: Convert to using %pOF instead of full_name

Now that we have a custom printf format specifier, convert users of
full_name to use %pOF instead. This is preparation to remove storing
of the full path string for each node.

Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Rob Herring
2017-07-18 16:43:19 -05:00
committed by David S. Miller
parent e56ce5161b
commit f7ce91038d
21 changed files with 134 additions and 157 deletions

View File

@@ -960,8 +960,8 @@ static int mpc52xx_fec_probe(struct platform_device *op)
/* We're done ! */
platform_set_drvdata(op, ndev);
netdev_info(ndev, "%s MAC %pM\n",
op->dev.of_node->full_name, ndev->dev_addr);
netdev_info(ndev, "%pOF MAC %pM\n",
op->dev.of_node, ndev->dev_addr);
return 0;