diff options
| author | Bryan B. Lima <bblima@usp.br> | 2026-06-30 22:07:18 -0300 |
|---|---|---|
| committer | Daniel Lezcano <daniel.lezcano@kernel.org> | 2026-07-08 13:22:15 +0200 |
| commit | cbe31d5ce49873a2a5a3ca5decb4935672396e77 (patch) | |
| tree | 1fc0bc3757dacf16a16b1f93c8d49c7cf39c7e3e /include/linux | |
| parent | dd04ad1cdabcad51e34b74b4e91b9aeb7180d05d (diff) | |
thermal/drivers/armada: Use bitfield and bitmask macros
Replace manual bitfield manipulations with FIELD_MODIFY() and define
constants with BIT() and GENMASK() to make code more readable.
Also, remove offset and shift constants for clarity in use of bitfield
macros.
Signed-off-by: Bryan B. Lima <bblima@usp.br>
Co-developed-by: Gustavo S. Correa <gustavoscorrea@usp.br>
Signed-off-by: Gustavo S. Correa <gustavoscorrea@usp.br>
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://patch.msgid.link/20260701010802.99029-1-bblima@usp.br
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
