driver/accelgyro_lsm6dsm.h: Format with clang-format
BRANCH=none
TEST=none
#define LSM6DSM_FIFO_CTRL1_ADDR 0x06
/* Output data rate registers and masks */
-#define LSM6DSM_ODR_REG(_sensor) \
- (LSM6DSM_CTRL1_ADDR + _sensor)
+#define LSM6DSM_ODR_REG(_sensor) (LSM6DSM_CTRL1_ADDR + _sensor)
#define LSM6DSM_ODR_MASK 0xf0
#define LSM6DSM_FIFO_CTRL2_ADDR 0x07
#define LSM6DSM_FIFO_CTRL5_ADDR 0x0a
#define LSM6DSM_FIFO_CTRL5_ODR_OFF 3
-#define LSM6DSM_FIFO_CTRL5_ODR_MASK \
- (0xf << LSM6DSM_FIFO_CTRL5_ODR_OFF)
+#define LSM6DSM_FIFO_CTRL5_ODR_MASK (0xf << LSM6DSM_FIFO_CTRL5_ODR_OFF)
#define LSM6DSM_FIFO_CTRL5_MODE_MASK 0x07
#define LSM6DSM_INT1_CTRL 0x0d
@@ -235,7 +233,6 @@ struct fstatus {
#define LSM6DSM_GYRO_FS_ADDR 0x11
#define LSM6DSM_GYRO_FS_MASK 0x0c
-
/* Supported gyroscope ranges:
* name(dps) | register | gain(udps/LSB) | actual value(dps)
* 250 | 0 | 8750 | 286.72
@@ -389,5 +386,4 @@ struct lsm6dsm_data {
int lsm6dsm_set_data_rate(const struct motion_sensor_t *s, int rate, int rnd);
-
#endif /* __CROS_EC_ACCELGYRO_LSM6DSM_H */
