diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-04-02 18:56:18 +0200 |
|---|---|---|
| committer | Daniel Lezcano <daniel.lezcano@kernel.org> | 2026-04-02 19:23:54 +0200 |
| commit | 29cbf826d5674a0ea1b101c13861416c7f217304 (patch) | |
| tree | 90042584c54216d80bfadecee29c04a9012344b9 /net/ipv4/ipvs/git@git.tavy.me:linux.git | |
| parent | 8f271fe15eaef9eeed6229a78adf6565cc554b63 (diff) | |
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 <thorsten.blum@linux.dev>
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://patch.msgid.link/20260402165616.895305-3-thorsten.blum@linux.dev
Diffstat (limited to 'net/ipv4/ipvs/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
