mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
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]