diff --git a/drivers/thermal/gov_step_wise.c b/drivers/thermal/gov_step_wise.c index eefeb6407d0f94..8b83fbb933db78 100644 --- a/drivers/thermal/gov_step_wise.c +++ b/drivers/thermal/gov_step_wise.c @@ -98,11 +98,8 @@ static void thermal_zone_trip_update(struct thermal_zone_device *tz, int trip_id trace_thermal_zone_trip(tz, trip_id, trip.type); } - hyst_temp = trip_temp = trip.temperature; - if (tz->ops->get_trip_hyst) { - tz->ops->get_trip_hyst(tz, trip_id, &hyst_temp); - hyst_temp = trip_temp - hyst_temp; - } + trip_temp = trip.temperature; + hyst_temp = trip_temp - trip.hysteresis; trip_type = trip.type; dev_dbg(&tz->device,