summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYury Norov <ynorov@nvidia.com>2026-04-28 00:41:21 +0300
committerYury Norov <ynorov@nvidia.com>2026-05-20 18:18:27 +0300
commit465af055db5b3804b4881e9cd07eeaea6dc3e460 (patch)
tree9b2611f75df639ac2d8465c2eb37be3db6415c61 /include
parent4f6610a35958469c546577bd74bbe6a3eb1d8f71 (diff)
downloadlinux-465af055db5b3804b4881e9cd07eeaea6dc3e460.tar.xz
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')
0 files changed, 0 insertions, 0 deletions