diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2022-06-27 14:54:04 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-06-29 08:38:45 +0000 |
commit | f3258a7dcf00d6eb5fe22ad03bbce978aaf73666 (patch) | |
tree | a50ef32b79dadb9b90ae3b0a3831763e01211e59 /driver/sensorhub_lsm6dsm.h | |
parent | d04173325fe40f0bfbc9d460e84441ad1e6c14c6 (diff) | |
download | chrome-ec-f3258a7dcf00d6eb5fe22ad03bbce978aaf73666.tar.gz |
driver/sensorhub_lsm6dsm.h: Format with clang-format
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: I8a4b3592aa953449044559b73aeab4956b77ba62
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730064
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'driver/sensorhub_lsm6dsm.h')
-rw-r--r-- | driver/sensorhub_lsm6dsm.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/driver/sensorhub_lsm6dsm.h b/driver/sensorhub_lsm6dsm.h index 07b19046df..f453565810 100644 --- a/driver/sensorhub_lsm6dsm.h +++ b/driver/sensorhub_lsm6dsm.h @@ -25,8 +25,8 @@ * @return EC_SUCCESS on success, EC error codes on failure. */ int sensorhub_config_ext_reg(const struct motion_sensor_t *s, - const uint16_t slv_addr_flags, - uint8_t reg, uint8_t val); + const uint16_t slv_addr_flags, uint8_t reg, + uint8_t val); /** * Configure the sensor hub to read data from a specific register of an @@ -39,8 +39,8 @@ int sensorhub_config_ext_reg(const struct motion_sensor_t *s, * @return EC_SUCCESS on success, EC error codes on failure. */ int sensorhub_config_slv0_read(const struct motion_sensor_t *s, - const uint16_t slv_addr_flags, - uint8_t reg, int len); + const uint16_t slv_addr_flags, uint8_t reg, + int len); /** * Reads the data from the register bank that is associated with the slave0 @@ -65,7 +65,7 @@ int sensorhub_slv0_data_read(const struct motion_sensor_t *s, uint8_t *raw); * @return EC_SUCCESS on success, EC error codes on failure. */ int sensorhub_check_and_rst(const struct motion_sensor_t *s, - const uint16_t slv_addr_flags, - uint8_t whoami_reg, uint8_t whoami_val, - uint8_t rst_reg, uint8_t rst_val); + const uint16_t slv_addr_flags, uint8_t whoami_reg, + uint8_t whoami_val, uint8_t rst_reg, + uint8_t rst_val); #endif /* __CROS_EC_SENSORHUB_LSM6DSM_H */ |