PM / devfreq: Convert to using %pOF instead of full_name
authorRob Herring <robh@kernel.org>
Tue, 18 Jul 2017 21:42:57 +0000 (16:42 -0500)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 28 Aug 2017 00:15:33 +0000 (09:15 +0900)
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>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: linux-pm@vger.kernel.org
drivers/devfreq/devfreq-event.c

index 8648b32ebc8906c123561eaca53af6e48f655a1a..d67242d87744330a96b2786d5bcd3267e8724c21 100644 (file)
@@ -277,8 +277,8 @@ int devfreq_event_get_edev_count(struct device *dev)
                                                sizeof(u32));
        if (count < 0) {
                dev_err(dev,
-                       "failed to get the count of devfreq-event in %s node\n",
-                       dev->of_node->full_name);
+                       "failed to get the count of devfreq-event in %pOF node\n",
+                       dev->of_node);
                return count;
        }