diff options
| author | Akshay Jindal <akshayaj.lkd@gmail.com> | 2025-10-12 21:06:11 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-10-19 13:59:23 +0300 |
| commit | 1a7a6c5db6366c29f687796c75ef5bd00e4921a2 (patch) | |
| tree | 3003f67eb633f4d783cd27af57cb7d12a853d761 /include/linux/timerqueue.h | |
| parent | e03d213848b045aa370af57da559b49b5ab3c966 (diff) | |
| download | linux-1a7a6c5db6366c29f687796c75ef5bd00e4921a2.tar.xz | |
iio: accel: bma400: Replace bit shifts with FIELD_PREP() and FIELD_GET()
set_* functions involve left shift of param values into respective
register fields before writing to register. Similarly get_* functions
involve right shift to extract values from the respective bit fields.
Replace these explicit shifting statements with standard kernel style
macros FIELD_GET() and FIELD_PREP().
Signed-off-by: Akshay Jindal <akshayaj.lkd@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
