summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Lechner <dlechner@baylibre.com>2025-07-22 01:12:47 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-08-16 13:57:05 +0300
commit972b1d5dee9eaa31ec8c20cfbea369f30bab416b (patch)
tree570e24acb0e78f7b4db81ec1b23acc9321197199 /include
parent97b262d24ae28b1e86586a927c8be9df9747fb56 (diff)
downloadlinux-972b1d5dee9eaa31ec8c20cfbea369f30bab416b.tar.xz
iio: adc: ti-adc081c: use individual model structures instead of array
Change the ti-adc081c driver to use individual model structures instead of an array. This reduces the verbosity of the code. Also, the data is now const as it should have been in the first place. The ADCxx1C_MODEL() macro is dropped to be consistent with similar model definitions in other drivers. Signed-off-by: David Lechner <dlechner@baylibre.com> Reviewed-by: Nuno Sá <nuno.sa@analog.com> Link: https://patch.msgid.link/20250721-iio-const-data-11-v2-1-c3fec12511ee@baylibre.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions