Re: [PATCH 4/9] iio: magnetometer: yas530: switch to using FIELD_GET_SIGNED()
From: Linus Walleij
Date: Sun Apr 19 2026 - 16:12:28 EST
On Fri, Apr 17, 2026 at 7:36 PM 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>
Very nice,
Reviewed-by: Linus Walleij <linusw@xxxxxxxxxx>
Yours,
Linus Walleij