summaryrefslogtreecommitdiff
path: root/drivers/clocksource/timer-probe.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2017-07-18 16:42:53 -0500
committerDaniel Lezcano <daniel.lezcano@linaro.org>2017-08-31 15:56:17 +0200
commit469869d18a886e046161ca65516bd3ffcd2f804b (patch)
treeaad37b7210699c861ea71ae9674000aae988d01b /drivers/clocksource/timer-probe.c
parentebbe266509d8a5453f51f77277da65d870125b72 (diff)
clocksource: 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 <robh@kernel.org> Cc: Daniel Lezcano <daniel.lezcano@linaro.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Marc Gonzalez <marc_gonzalez@sigmadesigns.com> Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com> Cc: Alexandre Torgue <alexandre.torgue@st.com> Cc: linux-arm-kernel@lists.infradead.org Acked-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com> Acked-by: Alexandre TORGUE <alexandre.torgue@st.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/clocksource/timer-probe.c')
-rw-r--r--drivers/clocksource/timer-probe.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/clocksource/timer-probe.c b/drivers/clocksource/timer-probe.c
index da81e5de74fe..028075720334 100644
--- a/drivers/clocksource/timer-probe.c
+++ b/drivers/clocksource/timer-probe.c
@@ -40,8 +40,7 @@ void __init timer_probe(void)
ret = init_func_ret(np);
if (ret) {
- pr_err("Failed to initialize '%s': %d\n",
- of_node_full_name(np), ret);
+ pr_err("Failed to initialize '%pOF': %d\n", np, ret);
continue;
}