diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2016-08-29 09:01:53 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-09-01 22:55:41 -0700 |
commit | 5a01bd89baedea18305742078f32adfe84f8ff9f (patch) | |
tree | b314df4ec7bff99e386c3da5bdc4fa87f01492b5 /board/strago/board.c | |
parent | 5b54e8c06520351cde0d999229b5de8a3333de0d (diff) | |
download | chrome-ec-5a01bd89baedea18305742078f32adfe84f8ff9f.tar.gz |
driver: kionix: Remove variant field.
Field is not required: sensor->chip already has that information.
BRANCH=veyron
BUG=none
TEST=compile
(cherry picked from commit 90fcd6be2b5d2104301efef295113d7816e14042)
Reviewed-on: https://chromium-review.googlesource.com/379096
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Change-Id: I6c0bc2e71d7c848968caa78c749dd3fb916f6263
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/379541
Diffstat (limited to 'board/strago/board.c')
-rw-r--r-- | board/strago/board.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/board/strago/board.c b/board/strago/board.c index 58759de1f3..ecef093e41 100644 --- a/board/strago/board.c +++ b/board/strago/board.c @@ -183,10 +183,7 @@ void board_reset_pd_mcu(void) /* Four Motion sensors */ /* kxcj9 mutex and local/private data*/ static struct mutex g_kxcj9_mutex[2]; -struct kionix_accel_data g_kxcj9_data[2] = { - {.variant = KXCJ9}, - {.variant = KXCJ9}, -}; +struct kionix_accel_data g_kxcj9_data[2]; /* Matrix to rotate accelrator into standard reference frame */ const matrix_3x3_t base_standard_ref = { |