Commit 371a7660 authored by Daniel Baluta's avatar Daniel Baluta Committed by Jonathan Cameron

iio: imu: inv_mpu6050: Fix code indent for if statement

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: default avatarDaniel Baluta <daniel.baluta@intel.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent aeeb18fc
...@@ -158,8 +158,8 @@ irqreturn_t inv_mpu6050_read_fifo(int irq, void *p) ...@@ -158,8 +158,8 @@ irqreturn_t inv_mpu6050_read_fifo(int irq, void *p)
goto flush_fifo; goto flush_fifo;
/* Timestamp mismatch. */ /* Timestamp mismatch. */
if (kfifo_len(&st->timestamps) > if (kfifo_len(&st->timestamps) >
fifo_count / bytes_per_datum + INV_MPU6050_TIME_STAMP_TOR) fifo_count / bytes_per_datum + INV_MPU6050_TIME_STAMP_TOR)
goto flush_fifo; goto flush_fifo;
while (fifo_count >= bytes_per_datum) { while (fifo_count >= bytes_per_datum) {
result = regmap_bulk_read(st->map, st->reg->fifo_r_w, result = regmap_bulk_read(st->map, st->reg->fifo_r_w,
data, bytes_per_datum); data, bytes_per_datum);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment