summaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2018-09-05 11:34:56 -0500
committerRob Herring <robh@kernel.org>2018-11-27 10:55:38 -0600
commite31d0fc6fd1bf62e56e7e3d0b69e7e64d8b7db58 (patch)
tree94a18a2ffb72aa15668480138e3c98be2fd0afc2 /drivers/power
parentacfe63ec1c591629ad04b299ee7bb1d18d299c69 (diff)
downloadlinux-e31d0fc6fd1bf62e56e7e3d0b69e7e64d8b7db58.tar.bz2
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: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/reset/axxia-reset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/reset/axxia-reset.c b/drivers/power/reset/axxia-reset.c
index 4e4cd1c8fe50..b16013265142 100644
--- a/drivers/power/reset/axxia-reset.c
+++ b/drivers/power/reset/axxia-reset.c
@@ -65,7 +65,7 @@ static int axxia_reset_probe(struct platform_device *pdev)
syscon = syscon_regmap_lookup_by_phandle(dev->of_node, "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);
}