diff options
author | Paul Cercueil <paul@crapouillou.net> | 2020-07-19 23:53:05 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-07-20 12:26:50 +0300 |
commit | 6a294b41ab344948bac28fa39f4c1d42c0acdace (patch) | |
tree | bae1ff9e52ed7b1ce110f89dbe3ef6b39e8576c4 /COPYING | |
parent | 155e41efe70bcd5f254e43d38c19f74b1378cd78 (diff) | |
download | linux-6a294b41ab344948bac28fa39f4c1d42c0acdace.tar.xz |
iio/adc: ingenic: Retrieve channels list from soc data struct
Instead of having one array of struct iio_chan_spec for all SoCs, and
have some SoCs remove the last item of the array as they can't use it,
have each SoC define its array of supported channels.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Tested-by: Artur Rojek <contact@artur-rojek.eu>
Signed-off-by: Artur Rojek <contact@artur-rojek.eu>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions