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)
commitab3449943b1da697301c3aa814b7c5f3bfe3065b
tree232b02e464f934fc51ca0249a8f20846a58fac9d
parent5924dab2412b42144c93ab6ab72ad489617b0121
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