diff options
author | Rob Herring <robh@kernel.org> | 2018-08-27 20:52:16 -0500 |
---|---|---|
committer | MyungJoo Ham <myungjoo.ham@samsung.com> | 2018-10-02 10:16:41 +0900 |
commit | f037eb8c1f476bc903d99695c1eb9f99ccb46b27 (patch) | |
tree | b0db80cc4ee1d27239815d85ac84cd2c004b49c8 /drivers | |
parent | b596d895fa2957e136a6b398b97b06bd42b51291 (diff) | |
download | linux-f037eb8c1f476bc903d99695c1eb9f99ccb46b27.tar.gz linux-f037eb8c1f476bc903d99695c1eb9f99ccb46b27.tar.bz2 linux-f037eb8c1f476bc903d99695c1eb9f99ccb46b27.zip |
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')
-rw-r--r-- | drivers/devfreq/event/exynos-ppmu.c | 4 |
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; } |