This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit bdb4b344a81802f272ee8d501463b6122f697741
Author: Alin Jerpelea <alin.jerpe...@sony.com>
AuthorDate: Tue Jan 26 08:38:26 2021 +0100

    drivers: sensors: bmi160.c: nxstyle fixes
    
    Nxstyle fixes to pass CI
    
    Signed-off-by: Alin Jerpelea <alin.jerpe...@sony.com>
---
 drivers/sensors/bmi160.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/drivers/sensors/bmi160.c b/drivers/sensors/bmi160.c
index 720176a..66c3089 100644
--- a/drivers/sensors/bmi160.c
+++ b/drivers/sensors/bmi160.c
@@ -260,9 +260,9 @@ static const struct file_operations g_bmi160fops =
   bmi160_open,    /* open */
   bmi160_close,   /* close */
   bmi160_read,    /* read */
-  0,               /* write */
-  0,               /* seek */
-  bmi160_ioctl,    /* ioctl */
+  0,              /* write */
+  0,              /* seek */
+  bmi160_ioctl,   /* ioctl */
 };
 
 /****************************************************************************
@@ -544,7 +544,8 @@ static void bmi160_set_normal_imu(FAR struct bmi160_dev_s 
*priv)
 
   bmi160_putreg8(priv, BMI160_ACCEL_CONFIG,
                  ACCEL_NORMAL_AVG4 | ACCEL_ODR_100HZ);
-  bmi160_putreg8(priv, BMI160_GYRO_CONFIG, GYRO_NORMAL_MODE | GYRO_ODR_100HZ);
+  bmi160_putreg8(priv, BMI160_GYRO_CONFIG,
+                 GYRO_NORMAL_MODE | GYRO_ODR_100HZ);
 }
 
 /****************************************************************************

Reply via email to