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/nami/board.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'board/nami') diff --git a/board/nami/board.c b/board/nami/board.c index 150def9d21..b6cbbd359d 100644 --- a/board/nami/board.c +++ b/board/nami/board.c @@ -360,11 +360,11 @@ uint16_t tcpc_get_alert_status(void) */ const struct temp_sensor_t temp_sensors[TEMP_SENSOR_COUNT] = { {"F75303_Local", TEMP_SENSOR_TYPE_BOARD, f75303_get_val, - F75303_IDX_LOCAL, 4}, + F75303_IDX_LOCAL}, {"F75303_Remote1", TEMP_SENSOR_TYPE_CPU, f75303_get_val, - F75303_IDX_REMOTE1, 4}, + F75303_IDX_REMOTE1}, {"F75303_Remote2", TEMP_SENSOR_TYPE_BOARD, f75303_get_val, - F75303_IDX_REMOTE2, 4}, + F75303_IDX_REMOTE2}, }; struct ec_thermal_config thermal_params[TEMP_SENSOR_COUNT]; -- cgit v1.2.1