diff options
author | Jonathan Cameron <[email protected]> | 2022-02-06 19:03:13 +0000 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2022-02-21 19:33:04 +0000 |
commit | 4915c6b3dd19fd331e3f189c92b27e14849d72fe (patch) | |
tree | add55dd2811abbd06f5199903124fc8a6651bd0a /tools/perf/scripts/python/sctop.py | |
parent | 003f1d48de520404e8d1ed3c4e98bbed547d1bae (diff) |
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 <[email protected]>
Reviewed-by: Marcelo Schmitt <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions