Loading drivers/thermal/thermal_core.c +2 −4 Original line number Diff line number Diff line Loading @@ -227,8 +227,7 @@ static int __update_sensor_thresholds(struct sensor_info *sensor) sensor->sensor_id, max_of_low_thresh, min_of_high_thresh); if ((min_of_high_thresh != sensor->threshold_max) && (min_of_high_thresh != LONG_MAX)) { if (min_of_high_thresh != LONG_MAX) { ret = sensor->tz->ops->set_trip_temp(sensor->tz, sensor->max_idx, min_of_high_thresh); if (ret) { Loading @@ -249,8 +248,7 @@ static int __update_sensor_thresholds(struct sensor_info *sensor) goto update_done; } if ((max_of_low_thresh != sensor->threshold_min) && (max_of_low_thresh != LONG_MIN)) { if (max_of_low_thresh != LONG_MIN) { ret = sensor->tz->ops->set_trip_temp(sensor->tz, sensor->min_idx, max_of_low_thresh); if (ret) { Loading Loading
drivers/thermal/thermal_core.c +2 −4 Original line number Diff line number Diff line Loading @@ -227,8 +227,7 @@ static int __update_sensor_thresholds(struct sensor_info *sensor) sensor->sensor_id, max_of_low_thresh, min_of_high_thresh); if ((min_of_high_thresh != sensor->threshold_max) && (min_of_high_thresh != LONG_MAX)) { if (min_of_high_thresh != LONG_MAX) { ret = sensor->tz->ops->set_trip_temp(sensor->tz, sensor->max_idx, min_of_high_thresh); if (ret) { Loading @@ -249,8 +248,7 @@ static int __update_sensor_thresholds(struct sensor_info *sensor) goto update_done; } if ((max_of_low_thresh != sensor->threshold_min) && (max_of_low_thresh != LONG_MIN)) { if (max_of_low_thresh != LONG_MIN) { ret = sensor->tz->ops->set_trip_temp(sensor->tz, sensor->min_idx, max_of_low_thresh); if (ret) { Loading