mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
perf: 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. Cc: Mark Rutland <[email protected]> Cc: [email protected] Acked-by: Will Deacon <[email protected]> Signed-off-by: Rob Herring <[email protected]> Signed-off-by: Catalin Marinas <[email protected]>
This commit is contained in:
parent
8eb7e28d4c
commit
03630b3b76
1 changed files with 3 additions and 3 deletions
|
|
@ -77,14 +77,14 @@ static int pmu_parse_irq_affinity(struct device_node *node, int i)
|
|||
|
||||
dn = of_parse_phandle(node, "interrupt-affinity", i);
|
||||
if (!dn) {
|
||||
pr_warn("failed to parse interrupt-affinity[%d] for %s\n",
|
||||
i, node->name);
|
||||
pr_warn("failed to parse interrupt-affinity[%d] for %pOFn\n",
|
||||
i, node);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
cpu = of_cpu_node_to_id(dn);
|
||||
if (cpu < 0) {
|
||||
pr_warn("failed to find logical CPU for %s\n", dn->name);
|
||||
pr_warn("failed to find logical CPU for %pOFn\n", dn);
|
||||
cpu = nr_cpu_ids;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue