diff options
author | Kory Maincent <kory.maincent@bootlin.com> | 2025-01-10 10:40:24 +0100 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-01-14 13:56:32 +0100 |
commit | 4c2bab507eb7edc8e497e91b9b7f05d76d7e32bb (patch) | |
tree | ede1818bfecd9ecb002c186dca547164d2b85b8a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 0b567519d1152de52b29b2da2c47aa0f39a46266 (diff) |
net: pse-pd: tps23881: Use helpers to calculate bit offset for a channel
This driver frequently follows a pattern where two registers are read or
written in a single operation, followed by calculating the bit offset for
a specific channel.
Introduce helpers to streamline this process and reduce code redundancy,
making the codebase cleaner and more maintainable.
Acked-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions