Skip to content

Commit 2852498

Browse files
jiada-wangEduardo Valentin
authored andcommitted
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>
1 parent bb404db commit 2852498

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/thermal/of-thermal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,7 @@ void of_thermal_destroy_zones(void)
964964

965965
np = of_find_node_by_name(NULL, "thermal-zones");
966966
if (!np) {
967-
pr_err("unable to find thermal zones\n");
967+
pr_debug("unable to find thermal zones\n");
968968
return;
969969
}
970970

0 commit comments

Comments
 (0)