summaryrefslogtreecommitdiff
path: root/board/mchpevb1
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 /board/mchpevb1
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 'board/mchpevb1')
-rw-r--r--board/mchpevb1/board.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/mchpevb1/board.c b/board/mchpevb1/board.c
index e7daf0ef34..7fd2c16575 100644
--- a/board/mchpevb1/board.c
+++ b/board/mchpevb1/board.c
@@ -451,9 +451,9 @@ BUILD_ASSERT(ARRAY_SIZE(temp_sensors) == TEMP_SENSOR_COUNT);
* a static global in this module.
*/
const struct temp_sensor_t temp_sensors[] = {
- {"Battery", TEMP_SENSOR_TYPE_BATTERY, sb_temp, 0, 4},
- {"Ambient", TEMP_SENSOR_TYPE_BOARD, ds1624_get_val, 0, 4},
- {"Case", TEMP_SENSOR_TYPE_CASE, therm_get_val, (int)ADC_CASE, 4},
+ {"Battery", TEMP_SENSOR_TYPE_BATTERY, sb_temp, 0},
+ {"Ambient", TEMP_SENSOR_TYPE_BOARD, ds1624_get_val, 0},
+ {"Case", TEMP_SENSOR_TYPE_CASE, therm_get_val, (int)ADC_CASE},
};
BUILD_ASSERT(ARRAY_SIZE(temp_sensors) == TEMP_SENSOR_COUNT);
#endif