diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-08-31 12:08:12 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-09-03 21:41:00 +0300 |
commit | 2b09b41dba04092fc198a5098908345f756db160 (patch) | |
tree | 4b51875ce7d46fbb937368f0b99ca9360aa705a4 /drivers/iio/accel/adis16209.c | |
parent | df9f7d4c330d1ca3e124d73a137a7df32ca3ac33 (diff) | |
download | linux-2b09b41dba04092fc198a5098908345f756db160.tar.xz |
iio: accel: bma220: Use BIT() and GENMASK() macros
Code is better to read when numbers of bit are explicitly used.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200831090813.78841-7-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/accel/adis16209.c')
0 files changed, 0 insertions, 0 deletions