summaryrefslogtreecommitdiff
path: root/drivers/iio/adc/ad7887.c
diff options
context:
space:
mode:
authorAlexandru Ardelean <alexandru.ardelean@analog.com>2020-09-30 16:50:48 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-10-10 17:38:36 +0100
commitead1c9f376dbb2805796098ed6d2a70921c77ee5 (patch)
tree2f4e1ea96209712a5b65c9f7b90773f05c9dace5 /drivers/iio/adc/ad7887.c
parentf091d7c5fe6cc39e916b50f90e3cac67a032d0be (diff)
iio: adc: at91_adc: remove platform data and move defs in driver file
The AT91 ADC driver no longer uses the 'at91_add_device_adc' platform data type. This is no longer used (at least in mainline boards). This change removes the platform-data initialization from the driver, since it is mostly dead code now. Some definitions [from the platform data at91_adc.h include] have been moved in the driver, since they are needed in the driver. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20200930135048.11530-5-alexandru.ardelean@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc/ad7887.c')
0 files changed, 0 insertions, 0 deletions