diff options
author | Mary Ruthven <mruthven@chromium.org> | 2021-11-19 09:34:02 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-11-19 21:33:05 +0000 |
commit | 6d5efa406b96158e8f519064f5e377f60147cdc3 (patch) | |
tree | 3101f02d1f11ab1e7557a4534085bb813c68a924 /board/host | |
parent | fabb25e9ebaa3f44adcd6e369c24e54021a9299b (diff) | |
download | chrome-ec-6d5efa406b96158e8f519064f5e377f60147cdc3.tar.gz |
coil: replace non-inclusive terms with "placeholder"
BUG=b:173227629
TEST=make buildall -j
Change-Id: I2b203dfe45416aa3b632f6f788d14264b08f44e0
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3293252
Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org>
Diffstat (limited to 'board/host')
-rw-r--r-- | board/host/board.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/board/host/board.c b/board/host/board.c index c531e00ec6..210787f3a3 100644 --- a/board/host/board.c +++ b/board/host/board.c @@ -28,17 +28,17 @@ #include "gpio_list.h" -test_mockable_static int dummy_temp_get_val(int idx, int *temp_ptr) +test_mockable_static int placeholder_temp_get_val(int idx, int *temp_ptr) { *temp_ptr = 0; return EC_SUCCESS; } const struct temp_sensor_t temp_sensors[] = { - {"CPU", TEMP_SENSOR_TYPE_CPU, dummy_temp_get_val, 0, 3}, - {"Board", TEMP_SENSOR_TYPE_BOARD, dummy_temp_get_val, 1, 3}, - {"Case", TEMP_SENSOR_TYPE_CASE, dummy_temp_get_val, 2, 0}, - {"Battery", TEMP_SENSOR_TYPE_BOARD, dummy_temp_get_val, 3, 0}, + {"CPU", TEMP_SENSOR_TYPE_CPU, placeholder_temp_get_val, 0, 3}, + {"Board", TEMP_SENSOR_TYPE_BOARD, placeholder_temp_get_val, 1, 3}, + {"Case", TEMP_SENSOR_TYPE_CASE, placeholder_temp_get_val, 2, 0}, + {"Battery", TEMP_SENSOR_TYPE_BOARD, placeholder_temp_get_val, 3, 0}, }; BUILD_ASSERT(ARRAY_SIZE(temp_sensors) == TEMP_SENSOR_COUNT); |