linux/drivers/iio
Heiko Stuebner d0389d4ed3 iio: adc: rockchip_saradc: move all of probe to devm-functions
Parts of the saradc probe rely on devm functions and later parts do not.
This makes it more difficult to for example enable triggers via their
devm-functions and would need more undo-work in remove.

So to make life easier for the driver, move the rest of probe calls
also to their devm-equivalents.

This includes moving the clk- and regulator-disabling to a devm_action
so that they gets disabled both during remove and in the error case
in probe, after the action is registered.

Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2020-06-27 13:00:26 +01:00
..
accel iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
adc iio: adc: rockchip_saradc: move all of probe to devm-functions 2020-06-27 13:00:26 +01:00
afe iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
amplifiers iio: remove left-over parent assignments 2020-06-14 11:50:04 +01:00
buffer iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
chemical iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
common iio: cros_ec: fix spelling mistake 2020-06-14 14:27:59 +01:00
dac iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
dummy iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
frequency iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
gyro iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
health iio: remove left-over parent assignments 2020-06-14 11:50:04 +01:00
humidity iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
imu iio: remove left-over parent assignments 2020-06-14 11:50:04 +01:00
light iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
magnetometer iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
multiplexer iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
orientation iio: remove left-over parent assignments 2020-06-14 11:50:04 +01:00
position iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
potentiometer iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
potentiostat iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
pressure iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
proximity iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
resolver iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
temperature iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
trigger iio: Remove superfluous of_node assignments 2020-06-14 14:20:08 +01:00
iio_core_trigger.h iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
iio_core.h iio: buffer: rename 'read_first_n' callback to 'read' 2019-12-29 15:20:09 +00:00
industrialio-buffer.c iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
industrialio-configfs.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
industrialio-core.c iio: core: pass parent device as parameter during allocation 2020-06-14 11:49:56 +01:00
industrialio-event.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
industrialio-sw-device.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
industrialio-sw-trigger.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
industrialio-trigger.c iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
industrialio-triggered-event.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
inkern.c iio: inkern: drop devm_iio_channel_release{_all} API calls 2020-04-19 16:56:37 +01:00
Kconfig iio: position: Add support for Azoteq IQS624/625 angle sensors 2020-03-27 08:25:59 +00:00
Makefile iio: position: Add support for Azoteq IQS624/625 angle sensors 2020-03-27 08:25:59 +00:00
TODO iio: add a TODO 2020-03-08 17:28:53 +00:00