]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf55517f2d106d4cf38b652da2b7d49546dd2c714
treea13ae9fd40faf010a4de1830acbc35152a770564
parentc63f42cf6fcbb592acdece1741a5c80f16403ffc
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