diff options
author | Rob Herring <robh@kernel.org> | 2018-08-28 04:52:39 +0300 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2018-10-01 13:33:17 +0300 |
commit | 03630b3b76ccc2999f77e11c4ba60b0a549d023a (patch) | |
tree | 0c30379da8db31a411b0bee5c6379caf99270c50 /drivers/perf/arm_pmu_platform.c | |
parent | 8eb7e28d4c642c310f25c18f80a44dd4b01c694e (diff) | |
download | linux-03630b3b76ccc2999f77e11c4ba60b0a549d023a.tar.xz |
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 <mark.rutland@arm.com>
Cc: linux-arm-kernel@lists.infradead.org
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'drivers/perf/arm_pmu_platform.c')
-rw-r--r-- | drivers/perf/arm_pmu_platform.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/perf/arm_pmu_platform.c b/drivers/perf/arm_pmu_platform.c index 96075cecb0ae..933bd8410fc2 100644 --- a/drivers/perf/arm_pmu_platform.c +++ b/drivers/perf/arm_pmu_platform.c @@ -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; } |