linux/drivers/iio/adc
Lars-Peter Clausen f11d59d87b iio: Move attach/detach of the poll func to the core
All devices using a triggered buffer need to attach and detach the trigger
to the device in order to properly work. Instead of doing this in each and
every driver by hand move this into the core.

At this point in time, all drivers should have been resolved to
attach/detach the poll-function in the same order.

This patch removes all explicit calls of iio_triggered_buffer_postenable()
& iio_triggered_buffer_predisable() in all drivers, since the core handles
now the pollfunc attach/detach.

The more peculiar change is for the 'at91-sama5d2_adc' driver, since it's
not immediately obvious that removing the hooks doesn't break anything.
Eugen was able to test on at91-sama5d2-adc driver, sama5d2-xplained board.
All seems to be fine.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Tested-by: Eugen Hristev <eugen.hristev@microchip.com> #for at91-sama5d2-adc
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2020-06-20 17:34:44 +01:00
..
ab8500-gpadc.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
ad799x.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
ad7091r5.c iio: adc: ad7091r5: Add scale and external VREF support 2019-11-16 17:06:10 +00:00
ad7091r-base.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
ad7091r-base.h iio: adc: ad7091r5: Add scale and external VREF support 2019-11-16 17:06:10 +00:00
ad7124.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
ad7192.c iio: remove left-over parent assignments 2020-06-14 11:50:04 +01:00
ad7266.c iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
ad7291.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
ad7292.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
ad7298.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
ad7476.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
ad7606_par.c iio: Remove dev_err() usage after platform_get_irq() 2019-08-05 15:59:14 +01:00
ad7606_spi.c iio: adc: ad7606: Add support for AD7606B ADC 2019-08-25 16:11:00 +01:00
ad7606.c iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
ad7606.h iio: adc: ad7606: Add support for AD7606B ADC 2019-08-25 16:11:00 +01:00
ad7766.c iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
ad7768-1.c iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
ad7780.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
ad7791.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
ad7793.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
ad7887.c iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
ad7923.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
ad7949.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
ad9467.c iio: adc: ad9467: add support AD9467 ADC 2020-04-19 16:56:23 +01:00
ad_sigma_delta.c iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
adi-axi-adc.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
aspeed_adc.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
at91_adc.c iio: at91_adc: remove usage of iio_priv_to_dev() helper 2020-06-20 17:29:38 +01:00
at91-sama5d2_adc.c iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
axp20x_adc.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
axp288_adc.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
bcm_iproc_adc.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
berlin2-adc.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
cc10001_adc.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
cpcap-adc.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
da9150-gpadc.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
dln2-adc.c iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
envelope-detector.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
ep93xx_adc.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
exynos_adc.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
fsl-imx25-gcq.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
hi8435.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
hx711.c iio: remove left-over parent assignments 2020-06-14 11:50:04 +01:00
imx7d_adc.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
ina2xx-adc.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
ingenic-adc.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
intel_mrfld_adc.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
Kconfig iio: Kconfig: at91_adc: add COMPILE_TEST dependency to driver 2020-06-14 11:49:52 +01:00
lp8788_adc.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
lpc18xx_adc.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
lpc32xx_adc.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
ltc2471.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
ltc2485.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
ltc2496.c iio: adc: new driver to support Linear technology's ltc2496 2019-12-15 12:15:19 +00:00
ltc2497-core.c iio: remove left-over parent assignments 2020-06-14 11:50:04 +01:00
ltc2497.c iio: adc: ltc2497: split protocol independent part in a separate module 2019-12-15 12:15:19 +00:00
ltc2497.h iio: adc: ltc2497: split protocol independent part in a separate module 2019-12-15 12:15:19 +00:00
Makefile Staging/IIO driver patches for 5.8-rc1 2020-06-07 10:45:08 -07:00
max1027.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
max1118.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
max1241.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
max1363.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
max9611.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
max11100.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
mcp320x.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
mcp3422.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
mcp3911.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
men_z188_adc.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
meson_saradc.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
mp2629_adc.c iio: adc: mp2629: Add support for mp2629 ADC driver 2020-05-26 10:41:47 +01:00
mt6577_auxadc.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
mxs-lradc-adc.c iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
nau7802.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
npcm_adc.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
palmas_gpadc.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
qcom-pm8xxx-xoadc.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
qcom-spmi-adc5.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
qcom-spmi-iadc.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
qcom-spmi-vadc.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
qcom-vadc-common.c iio: adc: Add support for PMIC7 ADC 2020-06-14 11:49:21 +01:00
qcom-vadc-common.h iio: adc: Add support for PMIC7 ADC 2020-06-14 11:49:21 +01:00
rcar-gyroadc.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
rn5t618-adc.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
rockchip_saradc.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
sc27xx_adc.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
sd_adc_modulator.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
spear_adc.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
stm32-adc-core.c iio: adc: stm32-adc: fix a wrong error message when probing interrupts 2020-05-22 17:29:25 +01:00
stm32-adc-core.h iio: adc: stm32-adc: Add check on overrun interrupt 2019-12-15 11:42:17 +00:00
stm32-adc.c iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
stm32-dfsdm-adc.c iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
stm32-dfsdm-core.c iio: adc: stm32-dfsdm: missing error case during probe 2019-04-27 14:09:28 +01:00
stm32-dfsdm.h iio: adc: stm32-dfsdm: add fast mode support 2019-06-22 10:29:19 +01:00
stmpe-adc.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
stx104.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
sun4i-gpadc-iio.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
ti_am335x_adc.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
ti-adc081c.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
ti-adc084s021.c iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
ti-adc108s102.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
ti-adc128s052.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
ti-adc161s626.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
ti-adc0832.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
ti-adc12138.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
ti-ads124s08.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
ti-ads1015.c iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
ti-ads7950.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
ti-ads8344.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
ti-ads8688.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
ti-tlc4541.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
twl4030-madc.c iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
twl6030-gpadc.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
vf610_adc.c iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
viperboard_adc.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
xilinx-xadc-core.c iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
xilinx-xadc-events.c iio: xilinx-xadc: Fix typo in author's name 2020-03-21 10:25:35 +00:00
xilinx-xadc.h iio: xilinx-xadc: Fix typo in author's name 2020-03-21 10:25:35 +00:00