Files
erofs-linux/drivers/thermal/broadcom
Thorsten Blum 29cbf826d5 thermal/drivers/brcmstb_thermal: Use max to simplify brcmstb_get_temp
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.

Signed-off-by: Thorsten Blum <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Link: https://patch.msgid.link/[email protected]
2026-04-02 19:23:54 +02:00
..
…
…