summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiada Wang <jiada_wang@mentor.com>2015-11-16 09:10:05 +0100
committerEduardo Valentin <edubezval@gmail.com>2015-11-16 19:49:17 +0100
commit285249884ec19480f99c011d223760bb1fc865a2 (patch)
treece6987dc32b838b010a2eeb7116ce97bcbd9b739
parentthermal: power_allocator: Use temperature reading from tz (diff)
downloadlinux-285249884ec19480f99c011d223760bb1fc865a2.tar.xz
linux-285249884ec19480f99c011d223760bb1fc865a2.zip
thermal: of-thermal: Reduce log level for message when can't fine thermal zone
Some systems register thermal zone by themself and don't need to have thermal zones node in DT. Therefore reduce the log level from ERROR to DEBUG when thermal zone node can't be find in of_thermal_destroy_zones(). Signed-off-by: Jiada Wang <jiada_wang@mentor.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
-rw-r--r--drivers/thermal/of-thermal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/of-thermal.c b/drivers/thermal/of-thermal.c
index 42b7d4253b94..be4eedcb839a 100644
--- a/drivers/thermal/of-thermal.c
+++ b/drivers/thermal/of-thermal.c
@@ -964,7 +964,7 @@ void of_thermal_destroy_zones(void)
np = of_find_node_by_name(NULL, "thermal-zones");
if (!np) {
- pr_err("unable to find thermal zones\n");
+ pr_debug("unable to find thermal zones\n");
return;
}