iio: adc: ad7606: Move common channel definition to header
authorBeniamin Bia <beniamin.bia@analog.com>
Thu, 18 Jul 2019 06:27:30 +0000 (09:27 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 28 Jul 2019 07:53:18 +0000 (08:53 +0100)
commit7677f73158d3dac530daca7ce834603989c05b18
tree8993548f43b682dfa8b62d32e33f96e0938aaa8a
parent06ae56b9e723d653b6c14da947794d440554dff4
iio: adc: ad7606: Move common channel definition to header

The common channel definition which are going to be used by both core
file but also spi file, were moved in header file. Some devices have
different channel definitions when are used in software mode, feature
available only with spi, and those definitions will be added in spi file.

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