diff options
| author | Natália Salvino André <natalia.andre@ime.usp.br> | 2026-05-19 20:40:47 -0300 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2026-05-31 11:01:47 +0100 |
| commit | 339002636932e56191ba810975a876fe4a3e223f (patch) | |
| tree | 1681bc34ab79a81d8b36e9132779dd23a956c319 /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git | |
| parent | e6cd87745a456548e1a2f9ae90927e18a10b57fe (diff) | |
iio: magnetometer: HID: hid-sensor-magn-3d: Refactor channel initialization
Replace the local magn_3d_adjust_channel_bit_mask() function with a
compound literal for scan_type initialization to improve code
readability.
Signed-off-by: Natália Salvino André <natalia.andre@ime.usp.br>
Co-developed-by: Pietro Di Consolo Gregorio <pietro.gregorio@usp.br>
Signed-off-by: Pietro Di Consolo Gregorio <pietro.gregorio@usp.br>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
