mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
cpufreq: cpu0: Do not print error message when deferring
-EPROBE_DEFER is no real error. We are just waiting unti the necessary components are ready. The driver core infrastructure will also print an appropriate info message. This patch changes the error message to a debug message. Signed-off-by: Markus Pargmann <mpa@pengutronix.de> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
18360d6ed9
commit
713a3fa6b7
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ static int cpu0_cpufreq_probe(struct platform_device *pdev)
|
||||||
* not yet registered, we should try defering probe.
|
* not yet registered, we should try defering probe.
|
||||||
*/
|
*/
|
||||||
if (PTR_ERR(cpu_reg) == -EPROBE_DEFER) {
|
if (PTR_ERR(cpu_reg) == -EPROBE_DEFER) {
|
||||||
dev_err(cpu_dev, "cpu0 regulator not ready, retry\n");
|
dev_dbg(cpu_dev, "cpu0 regulator not ready, retry\n");
|
||||||
ret = -EPROBE_DEFER;
|
ret = -EPROBE_DEFER;
|
||||||
goto out_put_node;
|
goto out_put_node;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue