Commit 2f29c168 authored by Murilo Opsfelder Araujo's avatar Murilo Opsfelder Araujo Committed by Jonathan Cameron

staging: iio: accel: sca3000_core.c: Adjust code to fit 80-chars limit

Signed-off-by: default avatarMurilo Opsfelder Araujo <mopsfelder@gmail.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 7557138a
......@@ -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;
......
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