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
1 changed files with 2 additions and 1 deletions
|
@ -506,7 +506,8 @@ static int sca3000_read_raw(struct iio_dev *indio_dev,
|
||||||
mutex_unlock(&st->lock);
|
mutex_unlock(&st->lock);
|
||||||
return ret;
|
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);
|
mutex_unlock(&st->lock);
|
||||||
return IIO_VAL_INT;
|
return IIO_VAL_INT;
|
||||||
|
|
Loading…
Add table
Reference in a new issue