diff options
author | Alexandru Tachici <alexandru.tachici@analog.com> | 2020-02-12 18:17:18 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-03-08 17:28:32 +0000 |
commit | 893ac1a02b19b7a42681f7cfb760dedb3d1611ab (patch) | |
tree | 07ad0149d651b1fb5a0f94e1068c52ea101ac1aa /drivers/iio/trigger/stm32-timer-trigger.c | |
parent | ab0afa65bbc7eee9a4f5d864781e949820e0aa2c (diff) | |
download | linux-893ac1a02b19b7a42681f7cfb760dedb3d1611ab.tar.gz linux-893ac1a02b19b7a42681f7cfb760dedb3d1611ab.tar.bz2 linux-893ac1a02b19b7a42681f7cfb760dedb3d1611ab.zip |
staging: iio: adc: ad7192: modify iio_chan_spec array
This patch changes the static const struct iio_chan_spec arrays
in a way that all the necessary attributes are set at
compile time. Now ad7192_channels_config only makes the
channels attribute of iio_dev point to the right array depending
on the chip.
Signed-off-by: Alexandru Tachici <alexandru.tachici@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions