Loading drivers/thermal/qcom/adc-tm5.c +2 −2 Original line number Diff line number Diff line Loading @@ -275,6 +275,8 @@ static int32_t adc_tm5_thr_update(struct adc_tm_sensor *sensor, struct adc_tm_config tm_config; struct adc_tm_chip *chip; chip = sensor->chip; ret = adc_tm5_get_btm_idx(chip, sensor->btm_ch, &btm_chan_idx); if (ret < 0) { Loading @@ -282,8 +284,6 @@ static int32_t adc_tm5_thr_update(struct adc_tm_sensor *sensor, return ret; } chip = sensor->chip; tm_config.high_thr_voltage = (int64_t)high_thr; tm_config.low_thr_voltage = (int64_t)low_thr; tm_config.prescal = sensor->prescaling; Loading Loading
drivers/thermal/qcom/adc-tm5.c +2 −2 Original line number Diff line number Diff line Loading @@ -275,6 +275,8 @@ static int32_t adc_tm5_thr_update(struct adc_tm_sensor *sensor, struct adc_tm_config tm_config; struct adc_tm_chip *chip; chip = sensor->chip; ret = adc_tm5_get_btm_idx(chip, sensor->btm_ch, &btm_chan_idx); if (ret < 0) { Loading @@ -282,8 +284,6 @@ static int32_t adc_tm5_thr_update(struct adc_tm_sensor *sensor, return ret; } chip = sensor->chip; tm_config.high_thr_voltage = (int64_t)high_thr; tm_config.low_thr_voltage = (int64_t)low_thr; tm_config.prescal = sensor->prescaling; Loading