]> git.ipfire.org Git - thirdparty/linux.git/commit
thermal/drivers/max77620: Remove duplicate error message
authorThierry Reding <treding@nvidia.com>
Fri, 13 Oct 2023 15:51:04 +0000 (17:51 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Sun, 15 Oct 2023 21:40:10 +0000 (23:40 +0200)
commit5368084c39369f31ef026565b676791b5b38e6a5
tree8f60bbaf33e348babbfa65cf3b0c2f219141823e
parente9cdce582390ade0429f76c2251d7bc65ec52f10
thermal/drivers/max77620: Remove duplicate error message

The thermal_of_zone_register() function already prints an error message
when appropriate, so remove the extra one from the MAX77620 thermal
driver.

This fixes a spurious error message when no thermal zone was defined
for the MAX77620 in device tree.

Reported-by: Nicolas Chauvet <kwizart@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20231013155104.1781197-1-thierry.reding@gmail.com
drivers/thermal/max77620_thermal.c