[PATCH 0/2] iio: accel: rohm: use regmap_reg_range()

Matti Vaittinen posted 2 patches 3 months, 1 week ago
drivers/iio/adc/rohm-bd79112.c | 13 ++++--------
drivers/iio/adc/rohm-bd79124.c | 39 ++++++++--------------------------
2 files changed, 13 insertions(+), 39 deletions(-)
[PATCH 0/2] iio: accel: rohm: use regmap_reg_range()
Posted by Matti Vaittinen 3 months, 1 week ago
Use regmap_reg_range() when initializing regmap_range arrays

Clean-up couple of ROHM drivers which assign the reg_ranges directly.
This reduces couple of lines of code.

NOTE: Changes are compile-tested only.

---

Matti Vaittinen (2):
  iio: adc: rohm-bd79112: Use regmap_reg_range()
  iio: adc: rohm-bd79124: Use regmap_reg_range()

 drivers/iio/adc/rohm-bd79112.c | 13 ++++--------
 drivers/iio/adc/rohm-bd79124.c | 39 ++++++++--------------------------
 2 files changed, 13 insertions(+), 39 deletions(-)

-- 
2.51.0

Re: [PATCH 0/2] iio: accel: rohm: use regmap_reg_range()
Posted by Jonathan Cameron 3 months, 1 week ago
On Mon, 27 Oct 2025 14:50:07 +0200
Matti Vaittinen <mazziesaccount@gmail.com> wrote:

> Use regmap_reg_range() when initializing regmap_range arrays
> 
> Clean-up couple of ROHM drivers which assign the reg_ranges directly.
> This reduces couple of lines of code.
> 
> NOTE: Changes are compile-tested only.
> 
Seem fine, so applied.

Thanks,

Jonathan

> ---
> 
> Matti Vaittinen (2):
>   iio: adc: rohm-bd79112: Use regmap_reg_range()
>   iio: adc: rohm-bd79124: Use regmap_reg_range()
> 
>  drivers/iio/adc/rohm-bd79112.c | 13 ++++--------
>  drivers/iio/adc/rohm-bd79124.c | 39 ++++++++--------------------------
>  2 files changed, 13 insertions(+), 39 deletions(-)
>