[PATCH v3 00/41] iio: simplify with regmap_set_bits(), regmap_clear_bits()

Uwe Kleine-König u.kleine-koenig at baylibre.com
Mon Jun 17 08:17:27 PDT 2024


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@baylibre.com/
> Link to v1: https://lore.kernel.org/linux-iio/20240611165214.4091591-1-tgamblin@baylibre.com/
> 
> Suggested-by: Uwe Kleine-König <u.kleine-koenig at baylibre.com>
> Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
> Signed-off-by: Trevor Gamblin <tgamblin at baylibre.com>

Acked-by: Uwe Kleine-König <u.kleine-koenig at baylibre.com>

Thanks
Uwe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-amlogic/attachments/20240617/168c5e42/attachment.sig>


More information about the linux-amlogic mailing list