Skip to content
Snippets Groups Projects
Commit e31d0fc6 authored by Rob Herring's avatar Rob Herring
Browse files

power: reset: 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.

Cc: Sebastian Reichel <sre@kernel.org>
Cc: linux-pm@vger.kernel.org
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent acfe63ec
No related branches found
No related tags found
No related merge requests found
...@@ -65,7 +65,7 @@ static int axxia_reset_probe(struct platform_device *pdev) ...@@ -65,7 +65,7 @@ static int axxia_reset_probe(struct platform_device *pdev)
syscon = syscon_regmap_lookup_by_phandle(dev->of_node, "syscon"); syscon = syscon_regmap_lookup_by_phandle(dev->of_node, "syscon");
if (IS_ERR(syscon)) { if (IS_ERR(syscon)) {
pr_err("%s: syscon lookup failed\n", dev->of_node->name); pr_err("%pOFn: syscon lookup failed\n", dev->of_node);
return PTR_ERR(syscon); return PTR_ERR(syscon);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment