diff options
author | Angel Iglesias <ang.iglesiasg@gmail.com> | 2022-09-13 02:45:49 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-09-21 20:42:53 +0300 |
commit | 2405f8cc8485d7c06fdd7b85a0df1a3febd076d6 (patch) | |
tree | 94ef868f14275eb84dacfa8ad214e15c0242b296 /tools/perf/scripts/python/syscall-counts.py | |
parent | 5f0c359defea73c0ca27fb47a3a891abf2f5a504 (diff) | |
download | linux-2405f8cc8485d7c06fdd7b85a0df1a3febd076d6.tar.xz |
iio: pressure: bmp280: use FIELD_GET, FIELD_PREP and GENMASK
Cleaned and simplified register values construction and extraction
converting to use FIELD_PREP and FIELD_GET macros.
Replaced hardcoded bit masks with GENMASK macro.
Signed-off-by: Angel Iglesias <ang.iglesiasg@gmail.com>
Link: https://lore.kernel.org/r/3cbe56f29c2a46bc5dc23c5b72e1b43c9207f44d.1663025017.git.ang.iglesiasg@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions