iio: adc: ad7887: Cleanup channel assignment
authorBeniamin Bia <beniamin.bia@analog.com>
Mon, 25 Nov 2019 13:21:37 +0000 (15:21 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 15 Dec 2019 11:42:13 +0000 (11:42 +0000)
commitb0ec7a44393e0d7a60878e2f56412072dd992724
tree12d0e03da257734b5f1d9b940c40bfd313d7c1b5
parent7bb501f49ddb96365ef8d4fe882e5ceaa36215e4
iio: adc: ad7887: Cleanup channel assignment

The channels specification assignment in chip info was simplified.
This patch makes supporting other devices by this driver easier.

Signed-off-by: Beniamin Bia <beniamin.bia@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7887.c