ARM: 8352/1: perf: Fix the pmu node name in warning message

With commit 9fd85eb502a7 ("ARM: pmu: add support for interrupt-affinity
property"), we print a warning when we find a PMU SPI with a missing
missing interrupt-affinity property in a pmu node. Unfortunately, we
pass the wrong (NULL) device node to of_node_full_name, resulting in
unhelpful messages such as:

hw perfevents: Failed to parse <no-node>/interrupt-affinity[0]

This patch fixes the name to that of the pmu node.

Fixes: 9fd85eb502a7 (ARM: pmu: add support for interrupt-affinity property)

Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by Will Deacon and committed by Russell King 3b8786ff 338d9dd3

Changed files
+1 -1
arch
arm
+1 -1
arch/arm/kernel/perf_event_cpu.c
··· 322 322 i); 323 323 if (!dn) { 324 324 pr_warn("Failed to parse %s/interrupt-affinity[%d]\n", 325 - of_node_full_name(dn), i); 325 + of_node_full_name(pdev->dev.of_node), i); 326 326 break; 327 327 } 328 328