]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: adc: ad7606: Add compatibility to fw_nodes
authorGuillaume Stols <gstols@baylibre.com>
Tue, 15 Oct 2024 13:56:18 +0000 (13:56 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 21 Oct 2024 18:19:26 +0000 (19:19 +0100)
commitbc69e9fffde41cbb865c4f22aef9aee58f82d61a
treeeb15848ebc607dcff839cfaa9387add12abfafd2
parent29121b825e05f784db489fc2be4c9ef394cc118a
iio: adc: ad7606: Add compatibility to fw_nodes

On the parallel version, the current implementation is only compatible
with id tables and won't work with fw_nodes, this commit intends to fix
it.

Doing so required to declare ad7606_chip_info structures in the .h file
so to make them accessible to all the driver files that can set a
pointer to the corresponding chip as the driver data.

Signed-off-by: Guillaume Stols <gstols@baylibre.com>
Link: https://patch.msgid.link/20241015-ad7606_add_iio_backend_support-v5-5-654faf1ae08c@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7606.c
drivers/iio/adc/ad7606.h
drivers/iio/adc/ad7606_par.c
drivers/iio/adc/ad7606_spi.c