提交 28524988 编写于 作者: J Jiada Wang 提交者: Eduardo Valentin

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: NJiada Wang <jiada_wang@mentor.com>
Signed-off-by: NEduardo Valentin <edubezval@gmail.com>
上级 bb404db4
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册