]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: adc: ad7606: change channel macros parameters
authorGuillaume Stols <gstols@baylibre.com>
Mon, 10 Feb 2025 16:10:58 +0000 (17:10 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 11 Feb 2025 19:56:25 +0000 (19:56 +0000)
commit5efb0a3cc6c8643a7f76409d92ea11b42f576234
treeb61e6be77a290031168eb8883934e4907b586584
parent0f65f59e632d942cccffd12c36036c24eb7037eb
iio: adc: ad7606: change channel macros parameters

Add the possibility to pass the *_available parameters to the main
macro.
This is a preparation to add the new channels for software mode and
hardware mode in iio backend mode more easily.

Signed-off-by: Guillaume Stols <gstols@baylibre.com>
Link: https://patch.msgid.link/20250210-wip-bl-ad7606_add_backend_sw_mode-v4-8-160df18b1da7@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7606.h