diff options
author | Théo Lebrun <theo.lebrun@bootlin.com> | 2024-03-06 18:59:24 +0100 |
---|---|---|
committer | Andi Shyti <andi.shyti@kernel.org> | 2024-03-12 11:50:43 +0100 |
commit | a9f5cd892354425dcba67692e0afe3af6a2b4b1f (patch) | |
tree | 3cd18d9669c6fc42a043c864e39c187a8fa68fcc /tools/perf/scripts/python/export-to-postgresql.py | |
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 <linus.walleij@linaro.org>
Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions