Commit 5c27036d authored by Rob Herring's avatar Rob Herring Committed by Chanwoo Choi

extcon: 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: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
parent 15dec834
...@@ -1363,8 +1363,8 @@ struct extcon_dev *extcon_get_edev_by_phandle(struct device *dev, int index) ...@@ -1363,8 +1363,8 @@ struct extcon_dev *extcon_get_edev_by_phandle(struct device *dev, int index)
node = of_parse_phandle(dev->of_node, "extcon", index); node = of_parse_phandle(dev->of_node, "extcon", index);
if (!node) { if (!node) {
dev_dbg(dev, "failed to get phandle in %s node\n", dev_dbg(dev, "failed to get phandle in %pOF node\n",
dev->of_node->full_name); dev->of_node);
return ERR_PTR(-ENODEV); return ERR_PTR(-ENODEV);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment