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