staging: iio: cdc: ad7150: fix misaligned lines
authorSlawomir Stepien <sst@poczta.fm>
Fri, 5 Oct 2018 08:05:15 +0000 (10:05 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 7 Oct 2018 19:08:04 +0000 (20:08 +0100)
These lines were misaligned, but the checkpatch.pl didn't indicate them
as such.

Signed-off-by: Slawomir Stepien <sst@poczta.fm>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/cdc/ad7150.c

index e2c70063fa0fddf62bad035af133b2368994a8c8..24f74ce60f80b0434b19e2576ecedb214e0b764d 100644 (file)
@@ -183,8 +183,8 @@ static int ad7150_write_event_params(struct iio_dev *indio_dev,
        case IIO_EV_TYPE_THRESH:
                value = chip->threshold[rising][chan];
                return i2c_smbus_write_word_data(chip->client,
-                                               ad7150_addresses[chan][3],
-                                               swab16(value));
+                                                ad7150_addresses[chan][3],
+                                                swab16(value));
        case IIO_EV_TYPE_MAG_ADAPTIVE:
                sens = chip->mag_sensitivity[rising][chan];
                timeout = chip->mag_timeout[rising][chan];