diff options
author | Paul Cercueil <paul@crapouillou.net> | 2020-07-19 22:53:05 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-07-20 10:26:50 +0100 |
commit | 6a294b41ab344948bac28fa39f4c1d42c0acdace (patch) | |
tree | bae1ff9e52ed7b1ce110f89dbe3ef6b39e8576c4 /drivers/pwm/pwm-stmpe.c | |
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>
Diffstat (limited to 'drivers/pwm/pwm-stmpe.c')
0 files changed, 0 insertions, 0 deletions