summaryrefslogtreecommitdiff
path: root/drivers/thermal/thermal_trip.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/thermal/thermal_trip.c')
-rw-r--r--drivers/thermal/thermal_trip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/thermal_trip.c b/drivers/thermal/thermal_trip.c
index 09474453baa5..37db75fb959f 100644
--- a/drivers/thermal/thermal_trip.c
+++ b/drivers/thermal/thermal_trip.c
@@ -118,7 +118,7 @@ void thermal_zone_set_trip_temp(struct thermal_zone_device *tz,
tz->passive--;
WARN_ON_ONCE(tz->passive < 0);
}
- thermal_zone_trip_down(tz, trip);
+ thermal_zone_trip_down(tz, td);
}
/*
* Invalidate the threshold to avoid triggering a spurious