Re: [PATCH v3] iio: magnetometer: rm3100: Modernize locking and refactor control flow

From: Andy Shevchenko

Date: Wed Apr 29 2026 - 14:30:02 EST


On Wed, Apr 29, 2026 at 09:26:53AM -0500, Maxwell Doose wrote:
> On Wed, Apr 29, 2026 at 4:12 AM Andy Shevchenko
> <andriy.shevchenko@xxxxxxxxx> wrote:

...

> > > + * rm3100_guarded_regmap_bulk_read() - Wrapper around regmap_bulk_read() with a mutex

And perhaps make the name shorter

rm3100_regmap_bulk_read_locked() // also use more standard pattern with suffix(es).

--
With Best Regards,
Andy Shevchenko