summaryrefslogtreecommitdiff
path: root/baseboard/volteer
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2020-02-13 10:33:13 -0700
committerCommit Bot <commit-bot@chromium.org>2020-02-14 00:56:16 +0000
commit68fb0ff425e97ee7d014e1777490f3f0da6316cb (patch)
treec4b69f8fe0d9c672f46bce3d19aa6127e191742f /baseboard/volteer
parent63e6072b454d41e85fd3763abff412d73090ce2d (diff)
downloadchrome-ec-68fb0ff425e97ee7d014e1777490f3f0da6316cb.tar.gz
Temp sensor: Remove action_delay_sec field
The action_delay_sec field hasn't actually been referenced by any code since 2013. Removing the corresponding struct field. BUG=None BRANCH=None TEST=builds Change-Id: Ia7334c26b85d0161ff61bb51fbdda61bb921595a Signed-off-by: Diana Z <dzigterman@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2054945 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'baseboard/volteer')
-rw-r--r--baseboard/volteer/baseboard.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/baseboard/volteer/baseboard.c b/baseboard/volteer/baseboard.c
index 31d47900f8..69353fabad 100644
--- a/baseboard/volteer/baseboard.c
+++ b/baseboard/volteer/baseboard.c
@@ -267,23 +267,19 @@ const struct temp_sensor_t temp_sensors[] = {
[TEMP_SENSOR_1_CHARGER] = {.name = "Charger",
.type = TEMP_SENSOR_TYPE_BOARD,
.read = get_temp_3v3_30k9_47k_4050b,
- .idx = ADC_TEMP_SENSOR_1_CHARGER,
- .action_delay_sec = 1},
+ .idx = ADC_TEMP_SENSOR_1_CHARGER},
[TEMP_SENSOR_2_PP3300_REGULATOR] = {.name = "PP3300 Regulator",
.type = TEMP_SENSOR_TYPE_BOARD,
.read = get_temp_3v3_30k9_47k_4050b,
- .idx = ADC_TEMP_SENSOR_2_PP3300_REGULATOR,
- .action_delay_sec = 1},
+ .idx = ADC_TEMP_SENSOR_2_PP3300_REGULATOR},
[TEMP_SENSOR_3_DDR_SOC] = {.name = "DDR and SOC",
.type = TEMP_SENSOR_TYPE_BOARD,
.read = get_temp_3v3_30k9_47k_4050b,
- .idx = ADC_TEMP_SENSOR_3_DDR_SOC,
- .action_delay_sec = 1},
+ .idx = ADC_TEMP_SENSOR_3_DDR_SOC},
[TEMP_SENSOR_4_FAN] = {.name = "Fan",
.type = TEMP_SENSOR_TYPE_BOARD,
.read = get_temp_3v3_30k9_47k_4050b,
- .idx = ADC_TEMP_SENSOR_4_FAN,
- .action_delay_sec = 1},
+ .idx = ADC_TEMP_SENSOR_4_FAN},
};
BUILD_ASSERT(ARRAY_SIZE(temp_sensors) == TEMP_SENSOR_COUNT);