mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 04:24:31 +01: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 <thorsten.blum@linux.dev> Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Link: https://patch.msgid.link/20260105121308.1761-1-thorsten.blum@linux.dev Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> |
||
|---|---|---|
| .. | ||
| bcm2711_thermal.c | ||
| bcm2835_thermal.c | ||
| brcmstb_thermal.c | ||
| Kconfig | ||
| Makefile | ||
| ns-thermal.c | ||
| sr-thermal.c | ||