diff options
| author | Rodrigo Ribeiro <[email protected]> | 2019-08-13 16:31:01 -0300 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2019-08-18 20:12:52 +0100 |
| commit | b311da85f7944a98fdc45c2fc92d74234e22995c (patch) | |
| tree | bb5bef6509275e676fcd3a5a70ae8f2a1ee87dcf /lib/mpi/mpi-cmp.c | |
| parent | 62ed7a81ef81b501a0ef3ecda532a34c6b4deb9b (diff) | |
staging: iio: accel: adis16240: Improve readability on write_raw function
Replace shift and minus operation by GENMASK macro and remove the local
variables used to store intermediate data.
Signed-off-by: Rodrigo Ribeiro Carvalho <[email protected]>
Reviewed-by: Alexandru Ardelean <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions