commit | 49056c95df448c1fa870c8688f34e5d1abffb154 | [log] [tgz] |
---|---|---|
author | Aapo Vienamo <aapo.vienamo@linux.intel.com> | Tue May 21 11:02:13 2024 +0300 |
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | Wed Jun 19 07:30:20 2024 +0300 |
tree | 4f8ab8d01d5e39b8c4b13ce7094b1e1de7fac04c | |
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>