diff options
author | Jimmy Assarsson <extja@kvaser.com> | 2023-05-29 15:42:45 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2023-06-22 09:44:29 +0200 |
commit | 954fb21268dd59a911dd0b493249eabfa03d0567 (patch) | |
tree | cfcf1f291b6e5b6baaed07acec0d500722119b21 /tools/perf/scripts/python/stackcollapse.py | |
parent | 69335013c4511cf99d3e338d369ccb37d30d6fee (diff) |
can: kvaser_pciefd: Use FIELD_{GET,PREP} and GENMASK where appropriate
Replace opencoded masking and shifting, with GENMASK, FIELD_GET and
FIELD_PREP macros.
Suggested-by: Vincent MAILHOL <mailhol.vincent@wanadoo.fr>
Signed-off-by: Jimmy Assarsson <extja@kvaser.com>
Reviewed-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Link: https://lore.kernel.org/all/20230529134248.752036-12-extja@kvaser.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions