aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorThéo Lebrun <theo.lebrun@bootlin.com>2024-03-06 18:59:24 +0100
committerAndi Shyti <andi.shyti@kernel.org>2024-03-12 11:50:43 +0100
commita9f5cd892354425dcba67692e0afe3af6a2b4b1f (patch)
tree3cd18d9669c6fc42a043c864e39c187a8fa68fcc /tools/perf/scripts/python/export-to-postgresql.py
parentd4f4a361c4eadbc992dfb9667c9a73bb879f4458 (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