diff options
author | Rob Herring <robh@kernel.org> | 2017-07-18 17:43:00 -0400 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2017-07-18 21:37:10 -0400 |
commit | 5c27036d2b05d6bc763809871b58a48e9fa554fa (patch) | |
tree | 1cd9b73d2a4b4ad3353592bd99781e63ece1a580 /drivers/extcon/extcon.c | |
parent | 15dec834a0d08be997fd0c4baa08db84459e3093 (diff) |
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: Rob Herring <robh@kernel.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon/extcon.c')
-rw-r--r-- | drivers/extcon/extcon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/extcon/extcon.c b/drivers/extcon/extcon.c index 8eccf7b14937..229364a9d868 100644 --- a/drivers/extcon/extcon.c +++ b/drivers/extcon/extcon.c | |||
@@ -1363,8 +1363,8 @@ struct extcon_dev *extcon_get_edev_by_phandle(struct device *dev, int index) | |||
1363 | 1363 | ||
1364 | node = of_parse_phandle(dev->of_node, "extcon", index); | 1364 | node = of_parse_phandle(dev->of_node, "extcon", index); |
1365 | if (!node) { | 1365 | if (!node) { |
1366 | dev_dbg(dev, "failed to get phandle in %s node\n", | 1366 | dev_dbg(dev, "failed to get phandle in %pOF node\n", |
1367 | dev->of_node->full_name); | 1367 | dev->of_node); |
1368 | return ERR_PTR(-ENODEV); | 1368 | return ERR_PTR(-ENODEV); |
1369 | } | 1369 | } |
1370 | 1370 | ||