[PATCH v3 35/41] iio: pressure: bmp280-core: make use of regmap_clear_bits()

Linus Walleij linus.walleij at linaro.org
Tue Jun 18 04:12:26 PDT 2024


On Mon, Jun 17, 2024 at 3:51 PM Trevor Gamblin <tgamblin at baylibre.com> wrote:

> Instead of using regmap_update_bits() and passing val = 0, use
> regmap_clear_bits().
>
> Suggested-by: Uwe Kleine-König <u.kleine-koenig at baylibre.com>
> Signed-off-by: Trevor Gamblin <tgamblin at baylibre.com>

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

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list