diff options
| author | Torin Cooper-Bennun <torin@maxiluxsystems.com> | 2021-05-04 13:51:20 +0100 |
|---|---|---|
| committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2021-05-27 09:42:23 +0200 |
| commit | 20779943a080c5ac9b9e291b76afbac12fdec023 (patch) | |
| tree | f981181aa7d0ea491b36ec8f45550501c9e597ac /net/lapb/lapb_subr.c | |
| parent | 2722ac986e93c4cabbefde299d01ed24db40a645 (diff) | |
can: m_can: use bits.h macros for all regmasks
This updates m_can.c to exclusively use GENMASK, FIELD_GET, FIELD_PREP
and FIELD_MAX for regmask ops, as is convention in the current kernel
(far less error-prone, far more concise).
Link: https://lore.kernel.org/r/20210504125123.500553-2-torin@maxiluxsystems.com
Signed-off-by: Torin Cooper-Bennun <torin@maxiluxsystems.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions
