summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorAapo Vienamo <aapo.vienamo@linux.intel.com>2024-05-21 11:02:13 +0300
committerMika Westerberg <mika.westerberg@linux.intel.com>2024-06-19 07:30:20 +0300
commit49056c95df448c1fa870c8688f34e5d1abffb154 (patch)
tree4f8ab8d01d5e39b8c4b13ce7094b1e1de7fac04c /scripts/gdb/linux/modules.py
parentff6ab055e070d819f51196622e08f8941b6d2a4b (diff)
downloadlinux-49056c95df448c1fa870c8688f34e5d1abffb154.tar.xz
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 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions