diff options
author | Rob Herring <robh@kernel.org> | 2017-06-01 15:50:55 -0500 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2017-07-18 17:09:18 -0500 |
commit | 0d638a07d3a1e98a7598eb2812a6236324e4c55f (patch) | |
tree | 5cca2869338b69318f5f758b0a6e8cb9ebaad69d /drivers/of/of_mdio.c | |
parent | b4032ff9af1c266ca671682117ba73e1ba89a259 (diff) | |
download | op-kernel-dev-0d638a07d3a1e98a7598eb2812a6236324e4c55f.zip op-kernel-dev-0d638a07d3a1e98a7598eb2812a6236324e4c55f.tar.gz |
of: 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>
Diffstat (limited to 'drivers/of/of_mdio.c')
-rw-r--r-- | drivers/of/of_mdio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/of/of_mdio.c b/drivers/of/of_mdio.c index e0dbd6e..754b9d6 100644 --- a/drivers/of/of_mdio.c +++ b/drivers/of/of_mdio.c @@ -166,8 +166,8 @@ static bool of_mdiobus_child_is_phy(struct device_node *child) if (of_match_node(whitelist_phys, child)) { pr_warn(FW_WARN - "%s: Whitelisted compatible string. Please remove\n", - child->full_name); + "%pOF: Whitelisted compatible string. Please remove\n", + child); return true; } |