diff options
| author | Yury Norov <ynorov@nvidia.com> | 2026-04-27 17:41:21 -0400 |
|---|---|---|
| committer | Yury Norov <ynorov@nvidia.com> | 2026-05-20 11:18:27 -0400 |
| commit | 465af055db5b3804b4881e9cd07eeaea6dc3e460 (patch) | |
| tree | 9b2611f75df639ac2d8465c2eb37be3db6415c61 /include/linux | |
| parent | 4f6610a35958469c546577bd74bbe6a3eb1d8f71 (diff) | |
iio: magnetometer: yas530: switch to using FIELD_GET_SIGNED()
Switch from sign_extend32(FIELD_GET()) to the dedicated
FIELD_GET_SIGNED() and don't calculate the fields length explicitly.
Reviewed-by: Linus Walleij <linusw@kernel.org>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Yury Norov <ynorov@nvidia.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
