Re: [PATCH v3 3/4] iio: accel: adxl367: use regmap_assign_bits()
From: Marcelo Schmitt
Date: Mon Aug 24 2026 - 08:22:05 EST
On 08/21, Antoniu Miclaus wrote:
> Several helpers set or clear a fixed set of bits based on a boolean using
> the regmap_update_bits(reg, mask, en ? mask : 0) idiom. Replace these with
> regmap_assign_bits(), which expresses the same intent more concisely.
>
> No functional change intended.
>
> Signed-off-by: Antoniu Miclaus <antoniu.miclaus@xxxxxxxxxx>
> ---
Reviewed-by: Marcelo Schmitt <marcelo.schmitt@xxxxxxxxxx>