iio: adc: ad7793: define/use own IIO channel macros
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Sat, 21 Mar 2020 09:08:00 +0000 (11:08 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 19 Apr 2020 15:56:10 +0000 (16:56 +0100)
commitaebefb444fe889bd7d92741a3dcc1c20c308f875
treea13ae9fd40faf010a4de1830acbc35152a770564
parentab3449943b1da697301c3aa814b7c5f3bfe3065b
iio: adc: ad7793: define/use own IIO channel macros

This driver seems to use most of the AD_SD_*_CHANNEL. This change will move
them in the driver. The intent is that if a new part comes along which
would require tweaks per IIO channel, these should be doable in the driver.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7793.c