mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 10:56:11 +07:00
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>
This commit is contained in:
parent
7557138a94
commit
2f29c16889
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user