WSL2-Linux-Kernel/drivers/iio/adc
Jonathan Cameron 17181d4dc3 iio: adc: ads1015: Balance runtime pm + pm_runtime_resume_and_get()
The call to pm_runtime_put_noidle() in remove() is not balancing a
counter increment.  Note this doesn't matter as the runtime pm core
will not allow the counter to go negative.  However, it is confusing
to the reader so let's remove it.

The pm_runtime_resume_and_get() replacement was found using coccicheck
script under review at:
https://lore.kernel.org/lkml/20210427141946.2478411-1-Julia.Lawall@inria.fr/

This is a prequel to taking a closer look at the runtime pm in IIO drivers
in general.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/20210516162103.1332291-3-jic23@kernel.org
2021-06-16 14:53:13 +01:00
..
Kconfig iio: adc: add ADC driver for the TI TSC2046 controller 2021-05-17 13:49:11 +01:00
Makefile iio: adc: add ADC driver for the TI TSC2046 controller 2021-05-17 13:49:11 +01:00
ab8500-gpadc.c
ad799x.c
ad7091r-base.c
ad7091r-base.h
ad7091r5.c
ad7124.c iio: adc: ad7124: Use devm_ managed calls for all of probe() + drop remove() 2021-06-13 17:00:16 +01:00
ad7192.c iio: adc: ad7192: convert to device-managed functions 2021-06-13 17:00:16 +01:00
ad7266.c
ad7291.c
ad7292.c
ad7298.c iio: adc: ad7298: Enable on Intel Galileo Gen 1 2021-05-17 13:49:05 +01:00
ad7476.c iio: adc: remove unused private data assigned with spi_set_drvdata() 2021-06-13 17:00:17 +01:00
ad7606.c iio: core: move @id from struct iio_dev to struct iio_dev_opaque 2021-05-17 13:49:13 +01:00
ad7606.h
ad7606_par.c
ad7606_spi.c
ad7766.c iio: adc: remove unused private data assigned with spi_set_drvdata() 2021-06-13 17:00:17 +01:00
ad7768-1.c iio: adc: remove unused private data assigned with spi_set_drvdata() 2021-06-13 17:00:17 +01:00
ad7780.c iio: adc: ad7780: convert to device-managed functions 2021-06-13 17:00:16 +01:00
ad7791.c iio: adc: ad7791: convert to device-managed functions 2021-06-13 17:00:16 +01:00
ad7793.c iio: adc: ad7793: convert to device-managed functions 2021-06-13 17:00:16 +01:00
ad7887.c iio: adc: remove unused private data assigned with spi_set_drvdata() 2021-06-13 17:00:17 +01:00
ad7923.c iio: adc: ad7923: Fix undersized rx buffer. 2021-05-22 08:32:36 +01:00
ad7949.c
ad9467.c iio: adc: remove unused private data assigned with spi_set_drvdata() 2021-06-13 17:00:17 +01:00
ad_sigma_delta.c iio: adc: ad_sigma_delta: remove ad_sd_{setup,cleanup}_buffer_and_trigger() 2021-06-13 17:00:17 +01:00
adi-axi-adc.c iio: adc: adi-axi-adc: simplify devm_adi_axi_adc_conv_register() 2021-05-17 13:49:06 +01:00
aspeed_adc.c
at91-sama5d2_adc.c iio: adc: at91-sama5d2: Fix buffer alignment in iio_push_to_buffers_with_timestamp() 2021-06-14 11:42:41 +01:00
at91_adc.c iio: core: move @id from struct iio_dev to struct iio_dev_opaque 2021-05-17 13:49:13 +01:00
axp20x_adc.c
axp288_adc.c
bcm_iproc_adc.c
berlin2-adc.c
cc10001_adc.c
cpcap-adc.c
da9150-gpadc.c
dln2-adc.c iio: core: move @id from struct iio_dev to struct iio_dev_opaque 2021-05-17 13:49:13 +01:00
envelope-detector.c
ep93xx_adc.c iio: ep93xx: Remove redundant error printing in ep93xx_adc_probe() 2021-05-17 13:54:24 +01:00
exynos_adc.c iio: adc: exynos: drop unneeded variable assignment 2021-05-17 13:49:04 +01:00
fsl-imx25-gcq.c
hi8435.c iio: adc: remove unused private data assigned with spi_set_drvdata() 2021-06-13 17:00:17 +01:00
hx711.c iio: adc: hx711: Fix buffer alignment in iio_push_to_buffers_with_timestamp() 2021-06-14 11:42:41 +01:00
imx7d_adc.c
ina2xx-adc.c iio: core: move @id from struct iio_dev to struct iio_dev_opaque 2021-05-17 13:49:13 +01:00
ingenic-adc.c
intel_mrfld_adc.c
lp8788_adc.c
lpc18xx_adc.c
lpc32xx_adc.c
ltc2471.c
ltc2485.c
ltc2496.c
ltc2497-core.c
ltc2497.c
ltc2497.h
max1027.c iio: adc: remove unused private data assigned with spi_set_drvdata() 2021-06-13 17:00:17 +01:00
max1118.c iio: adc: max1118: Avoid jumping back and forth between spi and iio structures 2021-06-03 18:24:14 +01:00
max1241.c iio: adc: remove unused private data assigned with spi_set_drvdata() 2021-06-13 17:00:17 +01:00
max1363.c
max9611.c
max11100.c iio: adc: max11100: Use devm_ functions for rest of probe() 2021-06-03 18:24:14 +01:00
mcp320x.c
mcp3422.c
mcp3911.c
men_z188_adc.c
meson_saradc.c
mp2629_adc.c iio: adc: mp2629: Drop duplicate setting iio_dev.dev.parent 2021-05-17 13:49:12 +01:00
mt6360-adc.c iio: adc: mt6360: Drop duplicate setting of iio_dev.dev.parent 2021-05-17 13:49:12 +01:00
mt6577_auxadc.c
mxs-lradc-adc.c iio: adc: mxs-lradc: Fix buffer alignment in iio_push_to_buffers_with_timestamp() 2021-06-14 11:42:41 +01:00
nau7802.c
npcm_adc.c
palmas_gpadc.c
qcom-pm8xxx-xoadc.c
qcom-spmi-adc5.c
qcom-spmi-iadc.c
qcom-spmi-vadc.c
qcom-vadc-common.c
rcar-gyroadc.c iio: adc: rcar-gyroadc: Use pm_runtime_resume_and_get() and check in probe() 2021-05-17 13:54:26 +01:00
rn5t618-adc.c
rockchip_saradc.c
sc27xx_adc.c iio: adc: Add missing MODULE_DEVICE_TABLE 2021-05-17 13:54:24 +01:00
sd_adc_modulator.c
spear_adc.c
stm32-adc-core.c
stm32-adc-core.h
stm32-adc.c iio: adc: stm32-adc: Use pm_runtime_resume_and_get() to replace open coding. 2021-05-17 13:54:26 +01:00
stm32-dfsdm-adc.c
stm32-dfsdm-core.c iio: adc: stm32-dfsdm: Use pm_runtime_resume_and_get() to replace open coding. 2021-05-17 13:54:26 +01:00
stm32-dfsdm.h
stmpe-adc.c
stx104.c
sun4i-gpadc-iio.c
ti-adc081c.c iio: adc: ti-adc081c: Use devm managed functions for all of probe() 2021-06-03 18:24:14 +01:00
ti-adc084s021.c iio: adc: remove unused private data assigned with spi_set_drvdata() 2021-06-13 17:00:17 +01:00
ti-adc108s102.c iio: adc: ti-adc108s102: Use devm managed functions for all of probe() 2021-06-03 18:24:14 +01:00
ti-adc128s052.c
ti-adc161s626.c iio: adc: ti-adc161s626: Use devm managed functions for all of probe. 2021-06-03 18:24:14 +01:00
ti-adc0832.c iio: adc: ti-adc0832: Use devm managed functions for all of probe() 2021-06-03 18:24:14 +01:00
ti-adc12138.c
ti-ads124s08.c iio: adc: remove unused private data assigned with spi_set_drvdata() 2021-06-13 17:00:17 +01:00
ti-ads131e08.c iio: core: move @id from struct iio_dev to struct iio_dev_opaque 2021-05-17 13:49:13 +01:00
ti-ads1015.c iio: adc: ads1015: Balance runtime pm + pm_runtime_resume_and_get() 2021-06-16 14:53:13 +01:00
ti-ads7950.c
ti-ads8344.c
ti-ads8688.c iio: adc: ti-ads8688: Fix alignment of buffer in iio_push_to_buffers_with_timestamp() 2021-06-14 11:42:41 +01:00
ti-tlc4541.c
ti-tsc2046.c iio: adc: remove unused private data assigned with spi_set_drvdata() 2021-06-13 17:00:17 +01:00
ti_am335x_adc.c
twl4030-madc.c
twl6030-gpadc.c
vf610_adc.c iio: adc: vf610: Fix buffer alignment in iio_push_to_buffers_with_timestamp() 2021-05-17 13:54:29 +01:00
viperboard_adc.c
xilinx-xadc-core.c iio: core: move @id from struct iio_dev to struct iio_dev_opaque 2021-05-17 13:49:13 +01:00
xilinx-xadc-events.c
xilinx-xadc.h