Guillaume Stols f151fbdd55 iio: adc: ad7606: Fix hardcoded offset in the ADC channels
When introducing num_adc_channels, I overlooked some new functions
created in a meanwhile that had also the hardcoded offset. This commit
adds the new logic to these functions.

Fixes: ef67f16e365c ("iio: adc: ad7606: Introduce num_adc_channels")
Signed-off-by: Guillaume Stols <gstols@baylibre.com>
Link: https://patch.msgid.link/20241210-ad7606_add_iio_backend_software_mode-v2-1-6619c3e50d81@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2024-12-15 13:01:28 +00:00
..
2024-11-03 20:33:44 +00:00
2024-11-03 20:33:44 +00:00
2022-07-16 18:50:24 +01:00
2024-10-12 11:43:29 +01:00
2024-09-30 09:21:02 +01:00
2024-09-30 09:21:02 +01:00
2024-11-03 20:33:44 +00:00
2024-10-12 11:43:29 +01:00
2024-10-28 20:04:10 +00:00
2024-09-30 09:21:02 +01:00
2024-10-12 11:43:29 +01:00