Re: [PATCH v3 3/4] iio: accel: adxl367: use regmap_assign_bits()

Marcelo Schmitt <[email protected]>
Newsgroups org.kernel.vger.linux-iio,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel
Message-ID <aow26IMc3tpgzI7r@debian-BULLSEYE-live-builder-AMD64>
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 <[email protected]>
> ---
Reviewed-by: Marcelo Schmitt <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.