summaryrefslogtreecommitdiffstats
path: root/drivers/thermal
diff options
context:
space:
mode:
authorJiada Wang <jiada_wang@mentor.com>2015-11-16 17:10:05 +0900
committerEduardo Valentin <edubezval@gmail.com>2015-11-16 10:49:17 -0800
commit285249884ec19480f99c011d223760bb1fc865a2 (patch)
treece6987dc32b838b010a2eeb7116ce97bcbd9b739 /drivers/thermal
parentbb404db47b8a4ade8c85d13fb44908b0ee15483c (diff)
downloadlinux-285249884ec19480f99c011d223760bb1fc865a2.tar.gz
linux-285249884ec19480f99c011d223760bb1fc865a2.tar.bz2
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>
Diffstat (limited to 'drivers/thermal')
-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;
}