diff options
author | Jon Hunter <jonathanh@nvidia.com> | 2019-08-21 17:02:41 +0200 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2019-08-27 00:31:39 +0200 |
commit | 14e019df1e64c8b19ce8e0b3da25b6f40c8716be (patch) | |
tree | 4b65900f7d81bac6d817755e0fb9bf70faebe612 /drivers/clocksource | |
parent | clocksource/drivers/timer-of: Do not warn on deferred probe (diff) | |
download | linux-14e019df1e64c8b19ce8e0b3da25b6f40c8716be.tar.xz linux-14e019df1e64c8b19ce8e0b3da25b6f40c8716be.zip |
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.c | 4 |
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; } |