[PATCH RESEND] thermal/drivers/brcmstb_thermal: Use max to simplify brcmstb_get_temp

Daniel Lezcano daniel.lezcano at oss.qualcomm.com
Thu Apr 2 10:24:24 PDT 2026


On 4/2/26 18:56, Thorsten Blum wrote:
> Use max() to simplify brcmstb_get_temp() and improve its readability.
> Since avs_tmon_code_to_temp() returns an int, change the data type of
> the local variable 't' from long to int.  No functional changes.
> 
> Reviewed-by: Florian Fainelli <florian.fainelli at broadcom.com>
> Signed-off-by: Thorsten Blum <thorsten.blum at linux.dev>
> ---

Applied, thanks




More information about the linux-arm-kernel mailing list