linux/drivers/iio
Alexandru Ardelean 3c53080588 iio: adc: ti_am335x_adc: alloc kfifo & IRQ via devm_ functions
This change attaches the life-cycle of the kfifo buffer & IRQ to the
parent-device. This in turn cleans up the exit & error paths, since we
don't need to explicitly cleanup these resources.

The main intent here is to remove the explicit cleanup of the
'indio_dev->buffer' via 'iio_kfifo_free(indio_dev->buffer);'.

As we want to add support for multiple buffers per IIO device, having it
exposed like this makes it tricky to consider a safe backwards compatible
approach for it.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2020-07-07 20:24:11 +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: ti_am335x_adc: alloc kfifo & IRQ via devm_ functions 2020-07-07 20:24:11 +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: chemical: scd30: add serial interface driver 2020-06-27 14:52:38 +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: adis16480: Use irq types instead of flags 2020-07-07 20:24:07 +01:00
light iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
magnetometer iio: magnetometer: bmc150: Add proper compatible for BMM150 2020-07-07 20:24:07 +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: core: move iio_dev's buffer_list to the private iio device object 2020-07-07 20:24:06 +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: move event interface on the opaque struct 2020-07-07 20:24:07 +01:00
industrialio-event.c iio: core: move event interface on the opaque struct 2020-07-07 20:24:07 +01: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