diff options
author | Rob Herring <robh@kernel.org> | 2018-08-27 20:00:19 -0500 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2018-09-07 11:04:41 -0500 |
commit | a613b26a50136ae90ab13943afe90bcbd34adb44 (patch) | |
tree | ae73468305d84211243721b857da21990ed11a8e /drivers/of/overlay.c | |
parent | 6901378c799d2358a2e4eff9818266df73c3b216 (diff) |
of: Convert to using %pOFn instead of device_node.name
In preparation to remove the node name pointer from struct device_node,
convert printf users to use the %pOFn format specifier.
Reviewed-by: Frank Rowand <frank.rowand@sony.com>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: netdev@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of/overlay.c')
-rw-r--r-- | drivers/of/overlay.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/of/overlay.c b/drivers/of/overlay.c index eda57ef12fd0..42b1f73ac5f6 100644 --- a/drivers/of/overlay.c +++ b/drivers/of/overlay.c @@ -425,8 +425,8 @@ static int build_changeset_next_level(struct overlay_changeset *ovcs, for_each_child_of_node(overlay_node, child) { ret = add_changeset_node(ovcs, target_node, child); if (ret) { - pr_debug("Failed to apply node @%pOF/%s, err=%d\n", - target_node, child->name, ret); + pr_debug("Failed to apply node @%pOF/%pOFn, err=%d\n", + target_node, child, ret); of_node_put(child); return ret; } |