From 68fb0ff425e97ee7d014e1777490f3f0da6316cb Mon Sep 17 00:00:00 2001 From: Diana Z Date: Thu, 13 Feb 2020 10:33:13 -0700 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2054945 Reviewed-by: Aseda Aboagye --- board/dratini/board.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'board/dratini/board.c') diff --git a/board/dratini/board.c b/board/dratini/board.c index f254e18172..97b6a07eab 100644 --- a/board/dratini/board.c +++ b/board/dratini/board.c @@ -310,18 +310,15 @@ const struct temp_sensor_t temp_sensors[] = { [TEMP_SENSOR_1] = {.name = "Charger", .type = TEMP_SENSOR_TYPE_BOARD, .read = get_temp_3v3_30k9_47k_4050b, - .idx = ADC_TEMP_SENSOR_1, - .action_delay_sec = 1}, + .idx = ADC_TEMP_SENSOR_1}, [TEMP_SENSOR_2] = {.name = "5V Reg", .type = TEMP_SENSOR_TYPE_BOARD, .read = get_temp_3v3_30k9_47k_4050b, - .idx = ADC_TEMP_SENSOR_2, - .action_delay_sec = 1}, + .idx = ADC_TEMP_SENSOR_2}, [TEMP_SENSOR_3] = {.name = "CPU", .type = TEMP_SENSOR_TYPE_BOARD, .read = get_temp_3v3_30k9_47k_4050b, - .idx = ADC_TEMP_SENSOR_3, - .action_delay_sec = 1}, + .idx = ADC_TEMP_SENSOR_3}, }; BUILD_ASSERT(ARRAY_SIZE(temp_sensors) == TEMP_SENSOR_COUNT); -- cgit v1.2.1