linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] iio: accel: rohm: use regmap_reg_range()
@ 2025-10-27 12:50 Matti Vaittinen
  2025-10-27 12:50 ` [PATCH 1/2] iio: adc: rohm-bd79112: Use regmap_reg_range() Matti Vaittinen
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Matti Vaittinen @ 2025-10-27 12:50 UTC (permalink / raw)
  To: Matti Vaittinen, Matti Vaittinen
  Cc: Matti Vaittinen, Jonathan Cameron, David Lechner, Nuno Sá,
	Andy Shevchenko, linux-iio, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 543 bytes --]

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


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-10-27 14:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-27 12:50 [PATCH 0/2] iio: accel: rohm: use regmap_reg_range() Matti Vaittinen
2025-10-27 12:50 ` [PATCH 1/2] iio: adc: rohm-bd79112: Use regmap_reg_range() Matti Vaittinen
2025-10-27 12:50 ` [PATCH 2/2] iio: adc: rohm-bd79124: " Matti Vaittinen
2025-10-27 14:54 ` [PATCH 0/2] iio: accel: rohm: use regmap_reg_range() Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).