summaryrefslogtreecommitdiff
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorJon Hunter <jonathanh@nvidia.com>2019-08-21 16:02:41 +0100
committerDaniel Lezcano <daniel.lezcano@linaro.org>2019-08-27 00:31:39 +0200
commit14e019df1e64c8b19ce8e0b3da25b6f40c8716be (patch)
tree4b65900f7d81bac6d817755e0fb9bf70faebe612 /drivers/clocksource
parent763719771e84b8c8c2f53af668cdc905faa608de (diff)
clocksource/drivers: Do not warn on probe defer
Deferred probe is an expected return value on many platforms and so there's no need to output a warning that may potentially confuse users. Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/clocksource')
-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;
}