diff options
author | Cristian Ciocaltea <cristian.ciocaltea@collabora.com> | 2025-06-25 00:56:45 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.com> | 2025-09-17 11:33:43 +0200 |
commit | 0d52aafb8bcee01b11ec8f3b46050540585431eb (patch) | |
tree | 9ef9ba610385d670268b9b039104b2b83f4dc406 /rust/helpers/bitmap.c | |
parent | 02d6eeedbc36d4b309d5518778071a749ef79c4e (diff) |
HID: playstation: Make use of bitfield macros
Improve code readability and make it more robust by replacing open coded
bit operations with the equivalent bitfield macros.
While at it, also fix the vertical alignment for some of the bitfield
constants.
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Reviewed-by: Benjamin Tissoires <bentiss@kernel.org>
Tested-by: Benjamin Tissoires <bentiss@kernel.org>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'rust/helpers/bitmap.c')
0 files changed, 0 insertions, 0 deletions