power: reset: Convert to using %pOFn instead of device_node.name
authorRob Herring <robh@kernel.org>
Wed, 5 Sep 2018 16:34:56 +0000 (11:34 -0500)
committerRob Herring <robh@kernel.org>
Tue, 27 Nov 2018 16:55:38 +0000 (10:55 -0600)
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>
drivers/power/reset/axxia-reset.c

index 4e4cd1c8fe50db6f002606543b6d2cdc7d73799c..b160132651421db23fcc9e666dc11a1ea324d924 100644 (file)
@@ -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);
        }