diff options
author | Diana Z <dzigterman@chromium.org> | 2020-02-13 10:33:13 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-02-14 00:56:16 +0000 |
commit | 68fb0ff425e97ee7d014e1777490f3f0da6316cb (patch) | |
tree | c4b69f8fe0d9c672f46bce3d19aa6127e191742f /board/nocturne | |
parent | 63e6072b454d41e85fd3763abff412d73090ce2d (diff) | |
download | chrome-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/nocturne')
-rw-r--r-- | board/nocturne/board.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/board/nocturne/board.c b/board/nocturne/board.c index afe0b3186d..9a397d1298 100644 --- a/board/nocturne/board.c +++ b/board/nocturne/board.c @@ -617,19 +617,19 @@ static int read_gyro_sensor_temp(int idx, int *temp_ptr) } const struct temp_sensor_t temp_sensors[] = { - {"Battery", TEMP_SENSOR_TYPE_BATTERY, charge_get_battery_temp, 0, 4}, + {"Battery", TEMP_SENSOR_TYPE_BATTERY, charge_get_battery_temp, 0}, /* These BD99992GW temp sensors are only readable in S0 */ {"Ambient", TEMP_SENSOR_TYPE_BOARD, bd99992gw_get_val, - BD99992GW_ADC_CHANNEL_SYSTHERM0, 4}, + BD99992GW_ADC_CHANNEL_SYSTHERM0}, {"Charger", TEMP_SENSOR_TYPE_BOARD, bd99992gw_get_val, - BD99992GW_ADC_CHANNEL_SYSTHERM1, 4}, + BD99992GW_ADC_CHANNEL_SYSTHERM1}, {"DRAM", TEMP_SENSOR_TYPE_BOARD, bd99992gw_get_val, - BD99992GW_ADC_CHANNEL_SYSTHERM2, 4}, + BD99992GW_ADC_CHANNEL_SYSTHERM2}, {"eMMC", TEMP_SENSOR_TYPE_BOARD, bd99992gw_get_val, - BD99992GW_ADC_CHANNEL_SYSTHERM3, 4}, + BD99992GW_ADC_CHANNEL_SYSTHERM3}, /* The Gyro temperature sensor is only readable in S0. */ - {"Gyro", TEMP_SENSOR_TYPE_BOARD, read_gyro_sensor_temp, LID_GYRO, 1} + {"Gyro", TEMP_SENSOR_TYPE_BOARD, read_gyro_sensor_temp, LID_GYRO} }; BUILD_ASSERT(ARRAY_SIZE(temp_sensors) == TEMP_SENSOR_COUNT); |