summaryrefslogtreecommitdiff
path: root/board/scarlet
diff options
context:
space:
mode:
authorGwendal Grignou <gwendal@chromium.org>2018-03-19 14:37:25 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-03-22 05:14:47 -0700
commit7dfb352adcd9ad6dccf198731e59fb8a7b95a8f4 (patch)
tree79d5d3a84e40dc1e71ad6b2f3aacccc563a41923 /board/scarlet
parentb073dba72adb9642fd3ec874ddb49fcb071afbfa (diff)
downloadchrome-ec-7dfb352adcd9ad6dccf198731e59fb8a7b95a8f4.tar.gz
board: In motion sensor array, remove more assignment to 0
BUG=none TEST=Compile BRANCH=none Change-Id: I86ccc26d7fb6d482dca3275a4365729ff8644777 Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/969626
Diffstat (limited to 'board/scarlet')
-rw-r--r--board/scarlet/board.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/board/scarlet/board.c b/board/scarlet/board.c
index 8b0dc686bd..21b2424ea1 100644
--- a/board/scarlet/board.c
+++ b/board/scarlet/board.c
@@ -427,29 +427,6 @@ struct motion_sensor_t motion_sensors[] = {
.default_range = 0,
.min_frequency = 0,
.max_frequency = 1,
- .config = {
- /* AP: by default shutdown all sensors */
- [SENSOR_CONFIG_AP] = {
- .odr = 0,
- .ec_rate = 0,
- },
- /* EC does not need in S0 */
- [SENSOR_CONFIG_EC_S0] = {
- .odr = 0,
- .ec_rate = 0,
- },
- /* Sensor off in S3/S5 */
- [SENSOR_CONFIG_EC_S3] = {
- .odr = 0,
- .ec_rate = 0,
- },
- /* Sensor off in S3/S5 */
- [SENSOR_CONFIG_EC_S5] = {
- .odr = 0,
- .ec_rate = 0,
- },
- },
-
},
};
const unsigned int motion_sensor_count = ARRAY_SIZE(motion_sensors);