summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2022-06-26 15:29:29 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-08-16 00:30:00 +0300
commit9eee2fc4a670d70ded6cc88c42d760338ce96918 (patch)
tree09624652f2b762cc327d0cbaec07315c1d4943b7 /tools/perf/scripts/python/export-to-postgresql.py
parentb1f567bde7e12e7671d8b0015ad3cbff8f3a8d3b (diff)
downloadlinux-9eee2fc4a670d70ded6cc88c42d760338ce96918.tar.xz
staging: iio: cdc: ad7746: Break up use of chan->address and use FIELD_PREP etc
Instead of encoding several different fields into chan->address use an indirection to a separate per channel structure where the various fields can be expressed in a more readable form. This also allows the register values to be constructed at runtime using FIELD_PREP(). Drop the now redundant _SHIFT macros. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20220626122938.582107-9-jic23@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions