static void handle_non_critical_trips(struct thermal_zone_device *tz,
int trip, enum thermal_trip_type trip_type)
{
- tz->governor->throttle(tz, trip);
+ if (tz->governor)
+ tz->governor->throttle(tz, trip);
}
static void handle_critical_trips(struct thermal_zone_device *tz,