]> git.ipfire.org Git - thirdparty/linux.git/commit
iio: adc: adc128s052: Rename channel structs
authorMatti Vaittinen <mazziesaccount@gmail.com>
Mon, 18 Aug 2025 08:12:52 +0000 (11:12 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 18 Aug 2025 19:12:13 +0000 (20:12 +0100)
commit9e9b0b97b0c76e378c8cb407b62a79b5053993a5
tree4a603d8b11f6a760cf13812e2bee88a450a5e004
parent7fe5b83fbcefb100c4fcec034a4a55507cd493e2
iio: adc: adc128s052: Rename channel structs

The adc128s052 can be used to drive a few other ADCs but the TI's ADCs
it was originally intended for. The TI's IC variants model numbers don't
(trivially) explain the channel configuration (for a reader working with
other than TI's ICs).

Rename the channel configuration structures to explicitly explain they
are used for simple ADCs, having 2, 4 or 8 channels.

Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Reviewed-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/e737f2b416e25d8e4e734e2765b0e21a3f0ae0bb.1755504346.git.mazziesaccount@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ti-adc128s052.c