Re: [RFC PATCH 2/2] iio: accel: msa311: use regmap_reg_field_* functions

From: Andy Shevchenko

Date: Thu Nov 05 2026 - 05:36:56 EST


On Wed, Nov 04, 2026 at 06:09:50PM -0600, Victor Chernyakin wrote:
> Simplify the driver by using the new regmap_reg_field_* functions.
> regmap_reg_field_FOO is equivalent to regmap_field_FOO, but takes
> a reg_field directly instead of a regmap_field.

I have just proposed REG_FIELD_GENMASK() macro, this change may rely on it
20261105103533.1426533-1-andriy.shevchenko@xxxxxxxxxxxxxxx if it comes through.

--
With Best Regards,
Andy Shevchenko