Re: [PATCH 4/9] iio: magnetometer: yas530: switch to using FIELD_GET_SIGNED()

From: Jonathan Cameron

Date: Sun Apr 19 2026 - 09:21:17 EST


On Fri, 17 Apr 2026 13:36:15 -0400
Yury Norov <ynorov@xxxxxxxxxx> wrote:

> Switch from sign_extend32(FIELD_GET()) to the dedicated
> FIELD_GET_SIGNED() and don't calculate the fields length explicitly.
>
> Signed-off-by: Yury Norov <ynorov@xxxxxxxxxx>
Acked-by: Jonathan Cameron <jic23@xxxxxxxxxx>