base: Convert to using %pOF instead of full_name
Subsystems (2)
PATCH 1/1 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 <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
--- drivers/base/arch_topology.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/base/arch_topology.c +4 -4
@@ -144,12 +144,12 @@ int __init topology_parse_cpu_capacity(struct device_node *cpu_node, int cpu) } capacity_scale =max (cpu_capacity, capacity_scale); raw_capacity[cpu] = cpu_capacity; -pr_debug ("cpu_capacity: %s cpu_capacity=%u (raw)\n" , - cpu_node->full_name, raw_capacity[cpu]); +pr_debug ("cpu_capacity: %pOF cpu_capacity=%u (raw)\n" , + cpu_node, raw_capacity[cpu]); }else {if (raw_capacity) { -pr_err ("cpu_capacity: missing %s raw capacity\n" , - cpu_node->full_name); +pr_err ("cpu_capacity: missing %pOF raw capacity\n" , + cpu_node);pr_err ("cpu_capacity: partial information: fallback to 1024 for all CPUs\n" ); } cap_parsing_failed = true;
--
2.11.0
Quoted 9 lines · Rob Herring
Now that we have a custom printf format specifier, convert users of
full_nameto use %pOF instead. This is preparation to remove storing of the full path string for each node.Signed-off-by Rob Herring <[email protected]>Cc Greg Kroah-Hartman <[email protected]>--- drivers/base/arch_topology.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
Greg, ping. You picked up most of the the other patches, but not this one.
Rob
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html