summaryrefslogtreecommitdiffstats
path: root/drivers/devfreq
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2018-08-27 20:52:16 -0500
committerMyungJoo Ham <myungjoo.ham@samsung.com>2018-10-02 10:16:41 +0900
commitf037eb8c1f476bc903d99695c1eb9f99ccb46b27 (patch)
treeb0db80cc4ee1d27239815d85ac84cd2c004b49c8 /drivers/devfreq
parentb596d895fa2957e136a6b398b97b06bd42b51291 (diff)
downloadlinux-f037eb8c1f476bc903d99695c1eb9f99ccb46b27.tar.bz2
PM / devfreq: 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. Signed-off-by: Rob Herring <robh@kernel.org> Acked-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'drivers/devfreq')
-rw-r--r--drivers/devfreq/event/exynos-ppmu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/devfreq/event/exynos-ppmu.c b/drivers/devfreq/event/exynos-ppmu.c
index a9c64f0d3284..c61de0bdf053 100644
--- a/drivers/devfreq/event/exynos-ppmu.c
+++ b/drivers/devfreq/event/exynos-ppmu.c
@@ -535,8 +535,8 @@ static int of_get_devfreq_events(struct device_node *np,
if (i == ARRAY_SIZE(ppmu_events)) {
dev_warn(dev,
- "don't know how to configure events : %s\n",
- node->name);
+ "don't know how to configure events : %pOFn\n",
+ node);
continue;
}