aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Pargmann <mpa@pengutronix.de>2014-08-04 08:48:03 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-08-06 18:23:23 -0400
commit713a3fa6b71578cae3af820be10dd9e0702f3280 (patch)
tree1638ed43d224ddf9c004778608250b38de01558e
parent18360d6ed9877d81aa7b3ab811e7e14f3fb0ac61 (diff)
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>
-rw-r--r--drivers/cpufreq/cpufreq-cpu0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/cpufreq-cpu0.c b/drivers/cpufreq/cpufreq-cpu0.c
index 86beda9f950b..0d2172b07765 100644
--- a/drivers/cpufreq/cpufreq-cpu0.c
+++ b/drivers/cpufreq/cpufreq-cpu0.c
@@ -137,7 +137,7 @@ static int cpu0_cpufreq_probe(struct platform_device *pdev)
137 * not yet registered, we should try defering probe. 137 * not yet registered, we should try defering probe.
138 */ 138 */
139 if (PTR_ERR(cpu_reg) == -EPROBE_DEFER) { 139 if (PTR_ERR(cpu_reg) == -EPROBE_DEFER) {
140 dev_err(cpu_dev, "cpu0 regulator not ready, retry\n"); 140 dev_dbg(cpu_dev, "cpu0 regulator not ready, retry\n");
141 ret = -EPROBE_DEFER; 141 ret = -EPROBE_DEFER;
142 goto out_put_node; 142 goto out_put_node;
143 } 143 }