Re: [PATCH] thermal: max77620: Remove duplicate error message

From: Daniel Lezcano
Date: Fri Oct 13 2023 - 12:03:31 EST


On 13/10/2023 17:51, Thierry Reding wrote:
From: Thierry Reding <treding@xxxxxxxxxx>

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@xxxxxxxxx>
Signed-off-by: Thierry Reding <treding@xxxxxxxxxx>
---

Applied, thanks


--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog