diff options
author | Murilo Opsfelder Araujo <mopsfelder@gmail.com> | 2014-07-08 00:22:00 (GMT) |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-08-07 09:10:57 (GMT) |
commit | 2f29c16889ae71b42aefbe235867d88f8c892548 (patch) | |
tree | 9126ceea56fd12d61d009bf0f4b07e27a357f8a3 /drivers/staging/iio/accel/sca3000_core.c | |
parent | 7557138a943bf460e56972b8b9f45d535a473a3c (diff) | |
download | linux-2f29c16889ae71b42aefbe235867d88f8c892548.tar.xz |
staging: iio: accel: sca3000_core.c: Adjust code to fit 80-chars limit
Signed-off-by: Murilo Opsfelder Araujo <mopsfelder@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/staging/iio/accel/sca3000_core.c')
-rw-r--r-- | drivers/staging/iio/accel/sca3000_core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/iio/accel/sca3000_core.c b/drivers/staging/iio/accel/sca3000_core.c index ed30e32..1ce037a 100644 --- a/drivers/staging/iio/accel/sca3000_core.c +++ b/drivers/staging/iio/accel/sca3000_core.c @@ -506,7 +506,8 @@ static int sca3000_read_raw(struct iio_dev *indio_dev, mutex_unlock(&st->lock); return ret; } - *val = ((st->rx[0] & 0x3F) << 3) | ((st->rx[1] & 0xE0) >> 5); + *val = ((st->rx[0] & 0x3F) << 3) | + ((st->rx[1] & 0xE0) >> 5); } mutex_unlock(&st->lock); return IIO_VAL_INT; |