Re: [PATCH v3 00/41] iio: simplify with regmap_set_bits(), regmap_clear_bits()
From: Uwe Kleine-König
Date: Mon Jun 17 2024 - 11:46:06 EST
Hello Trevor,
On Mon, Jun 17, 2024 at 09:49:40AM -0400, Trevor Gamblin wrote:
> Simplify the way regmap is accessed in iio drivers.
>
> Instead of using regmap_update_bits() and passing the mask twice, use
> regmap_set_bits().
>
> Instead of using regmap_update_bits() and passing val = 0, use
> regmap_clear_bits().
>
> The series is marked as v3, but the previous two revisions were single
> patches. There was also a resend of v1 due to not properly CCing the
> mailing lists on the first attempt. Trailers were pulled in from those
> where relevant.
>
> Link to v2: https://lore.kernel.org/linux-iio/20240613133927.3851344-1-tgamblin@xxxxxxxxxxxx/
> Link to v1: https://lore.kernel.org/linux-iio/20240611165214.4091591-1-tgamblin@xxxxxxxxxxxx/
>
> Suggested-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxx>
> Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
> Signed-off-by: Trevor Gamblin <tgamblin@xxxxxxxxxxxx>
Acked-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxx>
Thanks
Uwe
Attachment:
signature.asc
Description: PGP signature