mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 23:27:06 +00:00
base: 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> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
39bf04db6b
commit
6ef2541f26
1 changed files with 4 additions and 4 deletions
|
@ -150,12 +150,12 @@ bool __init topology_parse_cpu_capacity(struct device_node *cpu_node, int cpu)
|
||||||
}
|
}
|
||||||
capacity_scale = max(cpu_capacity, capacity_scale);
|
capacity_scale = max(cpu_capacity, capacity_scale);
|
||||||
raw_capacity[cpu] = cpu_capacity;
|
raw_capacity[cpu] = cpu_capacity;
|
||||||
pr_debug("cpu_capacity: %s cpu_capacity=%u (raw)\n",
|
pr_debug("cpu_capacity: %pOF cpu_capacity=%u (raw)\n",
|
||||||
cpu_node->full_name, raw_capacity[cpu]);
|
cpu_node, raw_capacity[cpu]);
|
||||||
} else {
|
} else {
|
||||||
if (raw_capacity) {
|
if (raw_capacity) {
|
||||||
pr_err("cpu_capacity: missing %s raw capacity\n",
|
pr_err("cpu_capacity: missing %pOF raw capacity\n",
|
||||||
cpu_node->full_name);
|
cpu_node);
|
||||||
pr_err("cpu_capacity: partial information: fallback to 1024 for all CPUs\n");
|
pr_err("cpu_capacity: partial information: fallback to 1024 for all CPUs\n");
|
||||||
}
|
}
|
||||||
cap_parsing_failed = true;
|
cap_parsing_failed = true;
|
||||||
|
|
Loading…
Reference in a new issue