Skip to content

Commit e8305d4

Browse files
robherringmyungjoo
authored andcommitted
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 <[email protected]> Reviewed-by: Chanwoo Choi <[email protected]> Signed-off-by: MyungJoo Ham <[email protected]> Cc: Kyungmin Park <[email protected]> Cc: [email protected]
1 parent 14ccee7 commit e8305d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/devfreq/devfreq-event.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,8 @@ int devfreq_event_get_edev_count(struct device *dev)
277277
sizeof(u32));
278278
if (count < 0) {
279279
dev_err(dev,
280-
"failed to get the count of devfreq-event in %s node\n",
281-
dev->of_node->full_name);
280+
"failed to get the count of devfreq-event in %pOF node\n",
281+
dev->of_node);
282282
return count;
283283
}
284284

0 commit comments

Comments
 (0)