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/glados | |
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/glados')
-rw-r--r-- | board/glados/board.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/board/glados/board.c b/board/glados/board.c index a6bfb36e15..83e5520535 100644 --- a/board/glados/board.c +++ b/board/glados/board.c @@ -473,9 +473,7 @@ static struct mutex g_lid_mutex; static struct mutex g_base_mutex; /* KX022 private data */ -struct kionix_accel_data g_kx022_data = { - .variant = KX022, -}; +struct kionix_accel_data g_kx022_data; struct motion_sensor_t motion_sensors[] = { /* |