power: reset: Convert to using %pOF instead of full_name
authorRob Herring <robh@kernel.org>
Tue, 18 Jul 2017 21:43:24 +0000 (16:43 -0500)
committerSebastian Reichel <sre@kernel.org>
Mon, 24 Jul 2017 12:09:31 +0000 (14:09 +0200)
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>
Cc: Nicolas Ferre <nicolas.ferre@microchip.com>
Cc: Sebastian Reichel <sre@kernel.org>
Cc: linux-pm@vger.kernel.org
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
drivers/power/reset/at91-sama5d2_shdwc.c

index 55fce8b75245b3c7542d6c38ee1a31c1297e3dca..31080c2541249a5312b7005f0e9c83aa55c1b8a2 100644 (file)
@@ -171,8 +171,8 @@ static u32 at91_shdwc_get_wakeup_input(struct platform_device *pdev,
 
        for_each_child_of_node(np, cnp) {
                if (of_property_read_u32(cnp, "reg", &wk_input)) {
-                       dev_warn(&pdev->dev, "reg property is missing for %s\n",
-                                cnp->full_name);
+                       dev_warn(&pdev->dev, "reg property is missing for %pOF\n",
+                                cnp);
                        continue;
                }