diff options
author | Rodrigo Ribeiro <rodrigorsdc@gmail.com> | 2019-08-13 21:31:01 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-08-18 21:12:52 +0200 |
commit | b311da85f7944a98fdc45c2fc92d74234e22995c (patch) | |
tree | bb5bef6509275e676fcd3a5a70ae8f2a1ee87dcf /.gitattributes | |
parent | MAINTAINERS: ftm-quaddec: Fix typo in a filepath (diff) | |
download | linux-b311da85f7944a98fdc45c2fc92d74234e22995c.tar.xz linux-b311da85f7944a98fdc45c2fc92d74234e22995c.zip |
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 <rodrigorsdc@gmail.com>
Reviewed-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions