diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2021-09-09 14:36:39 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-09-10 22:05:16 +0000 |
commit | 155d8545cab4fad0718485c37fcf8eeb5948f3f2 (patch) | |
tree | b118e199ce8a15a7c296ec9c3d0ba695b16742dc /driver/als_isl29035.c | |
parent | 917fb7fbd7a3681067d171fb385bb77de31f3ab6 (diff) | |
download | chrome-ec-155d8545cab4fad0718485c37fcf8eeb5948f3f2.tar.gz |
driver: lsm6dso: Minor macro changes
Rename LSM6DSO_FIFO_ODR_TO_REG into LSM6DSO_FIFO_ODR_MASK as the macro
return the mask to use to set the FIFO ODR.
Remove CONFIG_EC_MAX_SENSOR_FREQ_MILLIHZ in code, as already used in
LSM6DSO_ODR_MAX_VAL.
Simplify LSM6DSO_ST_DATA by using . instead of ->.
BUG=none
BRANCH=deded
TEST=buildall
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Change-Id: I4253368415635c858ce181f228591e8bf93eacb9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3150678
Reviewed-by: Keith Short <keithshort@chromium.org>
Reviewed-by: Yuval Peress <peress@google.com>
Diffstat (limited to 'driver/als_isl29035.c')
0 files changed, 0 insertions, 0 deletions