diff options
author | Théo Lebrun <[email protected]> | 2024-03-06 18:59:24 +0100 |
---|---|---|
committer | Andi Shyti <[email protected]> | 2024-03-12 11:50:43 +0100 |
commit | a9f5cd892354425dcba67692e0afe3af6a2b4b1f (patch) | |
tree | 3cd18d9669c6fc42a043c864e39c187a8fa68fcc /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | d4f4a361c4eadbc992dfb9667c9a73bb879f4458 (diff) |
i2c: nomadik: use bitops helpers
Constant register bit fields are declared using hardcoded hex values;
replace them by calls to BIT() and GENMASK(). Replace custom GEN_MASK()
macro by the generic FIELD_PREP(). Replace manual bit manipulations by
the generic FIELD_GET() macro.
Reviewed-by: Linus Walleij <[email protected]>
Signed-off-by: Théo Lebrun <[email protected]>
Reviewed-by: Andi Shyti <[email protected]>
Signed-off-by: Andi Shyti <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions