diff options
| author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-02-06 19:03:13 +0000 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-02-21 19:33:04 +0000 |
| commit | 4915c6b3dd19fd331e3f189c92b27e14849d72fe (patch) | |
| tree | add55dd2811abbd06f5199903124fc8a6651bd0a /include/linux/debugobjects.h | |
| parent | 003f1d48de520404e8d1ed3c4e98bbed547d1bae (diff) | |
| download | cachepc-linux-4915c6b3dd19fd331e3f189c92b27e14849d72fe.tar.gz cachepc-linux-4915c6b3dd19fd331e3f189c92b27e14849d72fe.zip | |
staging:iio:adc:ad7280a: Use bitfield ops to managed fields in transfers.
The write and two types of read transfer are sufficiently complex that
they benefit from the clarity of using FIELD_PREP() and FIELD_GET().
This also applies to the handling in ad7280_event_handler() so
use a similar approach there as well.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Marcelo Schmitt <marcelo.schmitt1@gmail.com>
Link: https://lore.kernel.org/r/20220206190328.333093-6-jic23@kernel.org
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
