]> git.baikalelectronics.ru Git - kernel.git/commit
iio: adc: ad7791: define/use own IIO channel macros
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Sat, 21 Mar 2020 09:07:59 +0000 (11:07 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 19 Apr 2020 15:56:10 +0000 (16:56 +0100)
commitc63f42cf6fcbb592acdece1741a5c80f16403ffc
tree232b02e464f934fc51ca0249a8f20846a58fac9d
parent86b3067611b95de30a4f2d4c539e85936e912b38
iio: adc: ad7791: 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/ad7791.c