Message ID | 12311623.O9o76ZdvQC@kreacher |
---|---|
State | New |
Headers | show |
Series | [v1] thermal: trip: Drop lockdep assertion from thermal_zone_trip_id() | expand |
Index: linux-pm/drivers/thermal/thermal_trip.c =================================================================== --- linux-pm.orig/drivers/thermal/thermal_trip.c +++ linux-pm/drivers/thermal/thermal_trip.c @@ -175,8 +175,6 @@ int thermal_zone_trip_id(struct thermal_ { int i; - lockdep_assert_held(&tz->lock); - for (i = 0; i < tz->num_trips; i++) { if (&tz->trips[i] == trip) return i;