diff options
| author | Matti Vaittinen <mazziesaccount@gmail.com> | 2025-10-27 14:50:51 +0200 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-11-09 12:57:05 +0000 |
| commit | a337775ed8e7f9a8cf273cd61a3920f73aa9b422 (patch) | |
| tree | 272f9549bc6c1b669de1050554f52c02d0fc7330 /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | d2e805319bf092ea748cbfe84b775e1f398ed9b3 (diff) | |
iio: adc: rohm-bd79124: Use regmap_reg_range()
Initializing the regmap_ranges using direct assignment to the range_min
and range_max members is slightly verbose. We can make it a tad cleaner
when using the regmap_reg_range() macro.
Clean up the code using regmap_reg_range() when initializing the
regmap_range structure.
Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
