[PATCH v3 00/41] iio: simplify with regmap_set_bits(), regmap_clear_bits()
Jonathan Cameron
jic23 at kernel.org
Sat Jun 22 11:07:06 PDT 2024
On Mon, 17 Jun 2024 17:17:27 +0200
Uwe Kleine-König <u.kleine-koenig at baylibre.com> wrote:
> 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>
>
Series applied with a few wrapping tweaks.
Applied to the togreg branch of iio.git and pushed out as testing for 0-day
to take a look + because I might rebase that tree after some fixes
make it upstream on which I have other dependencies and I don't like doing
that once it is in the public version of the togreg branch.
Thanks
Jonathan
> Thanks
> Uwe
More information about the linux-amlogic
mailing list