diff options
author | Jiada Wang <jiada_wang@mentor.com> | 2015-11-16 11:10:05 +0300 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2015-11-16 21:49:17 +0300 |
commit | 285249884ec19480f99c011d223760bb1fc865a2 (patch) | |
tree | ce6987dc32b838b010a2eeb7116ce97bcbd9b739 | |
parent | bb404db47b8a4ade8c85d13fb44908b0ee15483c (diff) | |
download | linux-285249884ec19480f99c011d223760bb1fc865a2.tar.xz |
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.c | 2 |
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; } |