mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
PM / devfreq: Convert to using %pOF instead of full_name
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
This commit is contained in:
parent
14ccee78fc
commit
e8305d408f
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user