summaryrefslogtreecommitdiff
path: root/driver/sync.c
diff options
context:
space:
mode:
authorKarthikeyan Ramasubramanian <kramasub@chromium.org>2018-10-01 13:54:25 -0600
committerchrome-bot <chrome-bot@chromium.org>2018-10-19 15:07:39 -0700
commit2ce6482fbb48d7d3290bc5c7d5dd4ea632aee1a6 (patch)
treec5d01262a87c2d66dcf71e1f9020e8c8ceae6d18 /driver/sync.c
parentdce4ff12eca8176b0abab7873048147d26156548 (diff)
downloadchrome-ec-2ce6482fbb48d7d3290bc5c7d5dd4ea632aee1a6.tar.gz
driver/accelgryo_lsm6dsm: Export accelgyro_config_fifo helper function
Rename config_fifo function as accelgyro_config_fifo and export it to configure the accelerometer FIFO to support magmetometer data. Also remove a redundant else code by initializing the local variables appropriately. BRANCH=none BUG=b:115587004 TEST=none Change-Id: I6f35245b45941adaafd49cc0e26e1f9307c480c2 Signed-off-by: Karthikeyan Ramasubramanian <kramasub@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1257502 Reviewed-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'driver/sync.c')
0 files changed, 0 insertions, 0 deletions