[PATCH/RFC 07/17] iio: st_sensors: Use bitfield helpers

Linus Walleij linus.walleij at linaro.org
Wed Nov 24 10:35:23 AEDT 2021


On Mon, Nov 22, 2021 at 4:55 PM Geert Uytterhoeven
<geert+renesas at glider.be> wrote:

> Use the field_prep() helper, instead of open-coding the same operation.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>

Clever!
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij


More information about the Linux-aspeed mailing list