commit | 6a294b41ab344948bac28fa39f4c1d42c0acdace | [log] [tgz] |
---|---|---|
author | Paul Cercueil <paul@crapouillou.net> | Sun Jul 19 22:53:05 2020 +0200 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Mon Jul 20 10:26:50 2020 +0100 |
tree | bae1ff9e52ed7b1ce110f89dbe3ef6b39e8576c4 | |
parent | 155e41efe70bcd5f254e43d38c19f74b1378cd78 [diff] |
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>