summaryrefslogtreecommitdiff
path: root/drivers/clocksource/timer-probe.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2019-08-27 00:42:06 +0200
committerThomas Gleixner <tglx@linutronix.de>2019-08-27 00:42:06 +0200
commita42e43c3de344bd2fa2e635bf3ffd4d9be73cf82 (patch)
treed0a75c7b442c34c5b45fb57fc1237a8ed3935748 /drivers/clocksource/timer-probe.c
parent3e2d94535adb2df15f3907e4b4c7cd8a5a4c2b5a (diff)
parent19d608458f4f3bb3a1f89bd7e4814c3fd30dbec7 (diff)
Merge tag 'timers-v5.4' of https://git.linaro.org/people/daniel.lezcano/linux into timers/core
Pull clocksource/events updates from Daniel Lezcano: - Remove dev_err() when used with platform_get_irq (Stephen Boyd) - Add DT binding and new compatible for Allwinner sun4i (Maxime Ripard) - Register the Atmel tcb clocksource for delays (Alexandre Belloni) - Add a clock divider for the Freescale imx platforms and new timer node in the DT (Anson Huang) - Use DIV_ROUND_CLOSEST macro for the Renesas OSTM (Geert Uytterhoeven) - Fix GENMASK and timer operation for the npcm timer (Avi Fishman) - Fix timer-of showing an error message when EPROBE_DEFER is returned (Jon Hunter) - Add new SoC DT binding and match for Renesas timers (Magnus Damm)
Diffstat (limited to 'drivers/clocksource/timer-probe.c')
-rw-r--r--drivers/clocksource/timer-probe.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/clocksource/timer-probe.c b/drivers/clocksource/timer-probe.c
index dda1946e84dd..ee9574da53c0 100644
--- a/drivers/clocksource/timer-probe.c
+++ b/drivers/clocksource/timer-probe.c
@@ -29,7 +29,9 @@ void __init timer_probe(void)
ret = init_func_ret(np);
if (ret) {
- pr_err("Failed to initialize '%pOF': %d\n", np, ret);
+ if (ret != -EPROBE_DEFER)
+ pr_err("Failed to initialize '%pOF': %d\n", np,
+ ret);
continue;
}