Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2aa2aafa authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drivers: thermal: Reprogram the thresholds for the set_trips callback"

parents 76945123 49c6be2d
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -143,10 +143,6 @@ void thermal_zone_set_trips(struct thermal_zone_device *tz)
			high = trip_temp;
	}

	/* No need to change trip points */
	if (tz->prev_low_trip == low && tz->prev_high_trip == high)
		goto exit;

	tz->prev_low_trip = low;
	tz->prev_high_trip = high;