diff --git a/drivers/thermal/broadcom/bcm2711_thermal.c b/drivers/thermal/broadcom/bcm2711_thermal.c index 67c2a737bc9d91..73cf85fc24b7b7 100644 --- a/drivers/thermal/broadcom/bcm2711_thermal.c +++ b/drivers/thermal/broadcom/bcm2711_thermal.c @@ -52,7 +52,7 @@ static int bcm2711_get_temp(void *data, int *temp) /* Convert a HW code to a temperature reading (millidegree celsius) */ t = slope * val + offset; - *temp = t < 0 ? 0 : t; + *temp = t; return 0; }