summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKory Maincent <kory.maincent@bootlin.com>2025-01-10 12:40:24 +0300
committerPaolo Abeni <pabeni@redhat.com>2025-01-14 15:56:32 +0300
commit4c2bab507eb7edc8e497e91b9b7f05d76d7e32bb (patch)
treeede1818bfecd9ecb002c186dca547164d2b85b8a /tools/perf/scripts/python/export-to-postgresql.py
parent0b567519d1152de52b29b2da2c47aa0f39a46266 (diff)
downloadlinux-4c2bab507eb7edc8e497e91b9b7f05d76d7e32bb.tar.xz
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions