commit | 2b09b41dba04092fc198a5098908345f756db160 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Mon Aug 31 12:08:12 2020 +0300 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Thu Sep 03 19:41:00 2020 +0100 |
tree | 4b51875ce7d46fbb937368f0b99ca9360aa705a4 | |
parent | df9f7d4c330d1ca3e124d73a137a7df32ca3ac33 [diff] |
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>