[PATCH v3 13/41] iio: adc: meson_saradc: make use of regmap_clear_bits(), regmap_set_bits()

George Stark gnstark at salutedevices.com
Thu Jun 20 02:41:45 PDT 2024


On 6/17/24 16:49, Trevor Gamblin wrote:
> 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().
> 
> Suggested-by: Uwe Kleine-König <u.kleine-koenig at baylibre.com>
> Signed-off-by: Trevor Gamblin <tgamblin at baylibre.com>

Reviewed-by: George Stark <gnstark at salutedevices.com>

-- 
Best regards
George



More information about the linux-amlogic mailing list