summaryrefslogtreecommitdiff
path: root/drivers/clocksource/timer-integrator-ap.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2018-08-28 04:52:14 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2018-10-03 15:36:52 +0300
commit2a4849d2674b965cd9eb7e6c010b7c240fb9d218 (patch)
tree4faea091056a0881cf1c362e9df09251c39c3506 /drivers/clocksource/timer-integrator-ap.c
parentdc6253108f0fbff4a634055d5b8a91958ec2af81 (diff)
downloadlinux-2a4849d2674b965cd9eb7e6c010b7c240fb9d218.tar.xz
clocksource: 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: Daniel Lezcano <daniel.lezcano@linaro.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Michal Simek <michal.simek@xilinx.com> Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/clocksource/timer-integrator-ap.c')
-rw-r--r--drivers/clocksource/timer-integrator-ap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/timer-integrator-ap.c b/drivers/clocksource/timer-integrator-ap.c
index 62d24690ba02..76e526f58620 100644
--- a/drivers/clocksource/timer-integrator-ap.c
+++ b/drivers/clocksource/timer-integrator-ap.c
@@ -190,7 +190,7 @@ static int __init integrator_ap_timer_init_of(struct device_node *node)
clk = of_clk_get(node, 0);
if (IS_ERR(clk)) {
- pr_err("No clock for %s\n", node->name);
+ pr_err("No clock for %pOFn\n", node);
return PTR_ERR(clk);
}
clk_prepare_enable(clk);