linux-stable/drivers/staging/iio
Alexandru Ardelean 9678844430 staging: iio: ad9832: convert probe to device-managed
This change does a conversion of the driver to use device-managed init
functions. The 2 regulators and the clock inits are converted to use
devm_add_action_or_reset() callbacks for de-initializing them when the
driver unloads.

And finally the devm_iio_device_register() function can be use to register
the device.

The remove hook can finally be removed and the spi_set_drvdata() call can
also be removed as the private data is no longer used.

Signed-off-by: Alexandru Ardelean <aardelean@deviqon.com>
Link: https://lore.kernel.org/r/20210913115209.300665-1-aardelean@deviqon.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2021-10-17 11:05:54 +01:00
..
accel iio: adis: Cleanout unused headers 2021-06-04 09:28:10 +01:00
adc iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
addac staging: iio: fix some formatting issues 2021-05-19 17:59:29 +02:00
cdc staging: iio: cdc: remove braces from single line if blocks 2021-09-14 12:00:32 +01:00
Documentation staging:iio:documentation: Drop most generic docs 2020-09-16 19:12:00 +01:00
frequency staging: iio: ad9832: convert probe to device-managed 2021-10-17 11:05:54 +01:00
impedance-analyzer iio: make use of devm_iio_kfifo_buffer_setup() helper 2021-03-11 20:47:01 +00:00
meter Merge 5.1-rc6 into staging-next 2019-04-21 23:18:44 +02:00
resolver iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
Kconfig staging: add missing SPDX lines to Kconfig files 2019-04-03 11:10:15 +02:00
Makefile
TODO staging: iio: remove mention of defunct list 2021-03-25 19:13:49 +00:00