summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSlawomir Stepien <sst@poczta.fm>2018-10-05 11:05:15 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-10-07 22:08:04 +0300
commit2e00b533527cf4f53a8909b950d2a583c967cd65 (patch)
treea546dd79bb2cfcd59254c2b3507471d5285aec09 /drivers
parent4bb199e51ddc45eeb823e2c7ae670de06912fa9c (diff)
downloadlinux-2e00b533527cf4f53a8909b950d2a583c967cd65.tar.xz
staging: iio: cdc: ad7150: fix misaligned lines
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/iio/cdc/ad7150.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/iio/cdc/ad7150.c b/drivers/staging/iio/cdc/ad7150.c
index e2c70063fa0f..24f74ce60f80 100644
--- a/drivers/staging/iio/cdc/ad7150.c
+++ b/drivers/staging/iio/cdc/ad7150.c
@@ -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];