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

Commit c226b6e6 authored by Jordan Crouse's avatar Jordan Crouse
Browse files

thermal: Fix trace_thermal_zone_trip



Commit 50dc9bda ("drivers: thermal: Add a snapshot of thermal
framework") changed the API for trace_thermal_zone_trip but didn't
update all the callers.

Change-Id: Ic0dedbade25d8c1250d389daa3d035dd3522028d
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent fd7a8f76
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ static int get_trip_level(struct thermal_zone_device *tz)
	 */
	if (count > 0) {
		tz->ops->get_trip_type(tz, count - 1, &trip_type);
		trace_thermal_zone_trip(tz, count - 1, trip_type);
		trace_thermal_zone_trip(tz, count - 1, trip_type, true);
	}

	return count;