diff options
author | Alisa-Dariana Roman | 2023-09-25 00:51:46 +0300 |
---|---|---|
committer | Jonathan Cameron | 2023-10-05 14:44:06 +0100 |
commit | 874bbd1219c70b0d14881214c9768a0e4598fad5 (patch) | |
tree | fe57351f90967c42d75c06af6255068e33fe17df /security/integrity | |
parent | 3b4e0e9677551806766a1ffd19a4a365c10f43d9 (diff) |
iio: adc: ad7192: Use bitfield access macros
Include bitfield.h and update driver to use bitfield access macros GENMASK,
FIELD_PREP and FIELD_GET.
Remove old macros in favor of using FIELD_PREP and masks.
Change %d to %ld to match the type of FIELD_GET().
Signed-off-by: Alisa-Dariana Roman <alisa.roman@analog.com>
Link: https://lore.kernel.org/r/20230924215148.102491-2-alisadariana@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'security/integrity')
0 files changed, 0 insertions, 0 deletions