@@ -248,8 +248,9 @@ int get_tz_trend(struct thermal_zone_device *tz, int trip)
248248}
249249EXPORT_SYMBOL (get_tz_trend );
250250
251- struct thermal_instance * get_thermal_instance (struct thermal_zone_device * tz ,
252- struct thermal_cooling_device * cdev , int trip )
251+ struct thermal_instance *
252+ get_thermal_instance (struct thermal_zone_device * tz ,
253+ struct thermal_cooling_device * cdev , int trip )
253254{
254255 struct thermal_instance * pos = NULL ;
255256 struct thermal_instance * target_instance = NULL ;
@@ -513,7 +514,7 @@ int thermal_zone_get_temp(struct thermal_zone_device *tz, int *temp)
513514 if (!ret && * temp < crit_temp )
514515 * temp = tz -> emul_temperature ;
515516 }
516-
517+
517518 mutex_unlock (& tz -> lock );
518519exit :
519520 return ret ;
@@ -1192,7 +1193,7 @@ void thermal_cdev_update(struct thermal_cooling_device *cdev)
11921193 /* Make sure cdev enters the deepest cooling state */
11931194 list_for_each_entry (instance , & cdev -> thermal_instances , cdev_node ) {
11941195 dev_dbg (& cdev -> device , "zone%d->target=%lu\n" ,
1195- instance -> tz -> id , instance -> target );
1196+ instance -> tz -> id , instance -> target );
11961197 if (instance -> target == THERMAL_NO_TARGET )
11971198 continue ;
11981199 if (instance -> target > target )
0 commit comments