Skip to content

Commit

Permalink
clocksource/drivers: Do not warn on probe defer
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jon Hunter authored and Daniel Lezcano committed Aug 26, 2019
1 parent 7637197 commit 14e019d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/clocksource/timer-probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 14e019d

Please sign in to comment.