mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 01:43:18 +00:00
Use clamp() to simplify bcm2835_thermal_temp2adc() and improve its readability. Explicitly cast BIT() to int to prevent a signedness error. Signed-off-by: Thorsten Blum <[email protected]> Reviewed-by: Luca Ceresoli <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Daniel Lezcano <[email protected]>