iio: imu: inv_mpu6050: Fix code indent for if statement
authorDaniel Baluta <daniel.baluta@intel.com>
Thu, 18 Feb 2016 15:53:11 +0000 (17:53 +0200)
committerJonathan Cameron <jic23@kernel.org>
Wed, 24 Feb 2016 20:40:44 +0000 (20:40 +0000)
This fixes the following checkpatch.pl warning:

WARNING: suspect code indent for conditional statements (8, 24)
+       if (kfifo_len(&st->timestamps) >
[...]
+                       goto flush_fifo;

Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c

index 441080b81f00a6fd5242060710f04c6ca838920a..0bc5091102f1e0b97dab11c82a1ac0bbc292a1db 100644 (file)
@@ -158,8 +158,8 @@ irqreturn_t inv_mpu6050_read_fifo(int irq, void *p)
                goto flush_fifo;
        /* Timestamp mismatch. */
        if (kfifo_len(&st->timestamps) >
-               fifo_count / bytes_per_datum + INV_MPU6050_TIME_STAMP_TOR)
-                       goto flush_fifo;
+           fifo_count / bytes_per_datum + INV_MPU6050_TIME_STAMP_TOR)
+               goto flush_fifo;
        while (fifo_count >= bytes_per_datum) {
                result = regmap_bulk_read(st->map, st->reg->fifo_r_w,
                                          data, bytes_per_datum);