summaryrefslogtreecommitdiff
path: root/board/kukui/board.c
diff options
context:
space:
mode:
authorTing Shen <phoenixshen@google.com>2019-06-27 20:25:20 +0800
committerCommit Bot <commit-bot@chromium.org>2019-07-03 18:08:51 +0000
commit40f6e8fbc509e8cc8cc8c0e0f007aaff3a169b06 (patch)
tree9bb10fa8d7e97d6e7995023240e0cb626ee2c523 /board/kukui/board.c
parentfc9117badbc12cf2eda57287aff0315028cbf210 (diff)
downloadchrome-ec-40f6e8fbc509e8cc8cc8c0e0f007aaff3a169b06.tar.gz
krane: remove als mutex
According to the comments in CL:1666260, we don't need it anymore. BUG=b:129430139 TEST=make BRANCH=master Change-Id: I98944518e1e70d2a2ea2a607b3dfd478f9c09e55 Signed-off-by: Ting Shen <phoenixshen@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1679855 Commit-Queue: Ting Shen <phoenixshen@chromium.org> Reviewed-by: Yilun Lin <yllin@chromium.org> Tested-by: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'board/kukui/board.c')
-rw-r--r--board/kukui/board.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/board/kukui/board.c b/board/kukui/board.c
index fbed253883..322e5a2707 100644
--- a/board/kukui/board.c
+++ b/board/kukui/board.c
@@ -433,7 +433,6 @@ int board_get_version(void)
/* Mutexes */
#ifdef SECTION_IS_RW
static struct mutex g_lid_mutex;
-static struct mutex g_als_mutex;
static struct bmi160_drv_data_t g_bmi160_data;
@@ -556,7 +555,6 @@ struct motion_sensor_t motion_sensors[] = {
.location = MOTIONSENSE_LOC_LID,
.drv = &tcs3400_drv,
.drv_data = &g_tcs3400_data,
- .mutex = &g_als_mutex,
.port = I2C_PORT_ALS,
.addr = TCS3400_I2C_ADDR,
.rot_standard_ref = NULL,