diff options
author | Aapo Vienamo <aapo.vienamo@linux.intel.com> | 2024-05-21 11:02:13 +0300 |
---|---|---|
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | 2024-06-19 07:30:20 +0300 |
commit | 49056c95df448c1fa870c8688f34e5d1abffb154 (patch) | |
tree | 4f8ab8d01d5e39b8c4b13ce7094b1e1de7fac04c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ff6ab055e070d819f51196622e08f8941b6d2a4b (diff) |
thunderbolt: debugfs: Use FIELD_GET()
Use the FIELD_GET() macro instead of open coding the masks and shifts.
This makes the code more compact and improves readability as it avoids
the need to wrap excessively long lines.
Signed-off-by: Aapo Vienamo <aapo.vienamo@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Yehezkel Bernat <YehezkelShB@gmail.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions