summaryrefslogtreecommitdiffstats
path: root/drivers/iio/buffer/industrialio-triggered-buffer.c
AgeCommit message (Collapse)AuthorFilesLines
2016-09-04iio: add resource managed triggered buffer init helpersGregor Boirie1-0/+42
Add resource managed devm_iio_triggered_buffer_setup() and devm_iio_triggered_buffer_cleanup() to automatically clean up triggered buffers setup by IIO drivers, thus leading to simplified IIO drivers code. Signed-off-by: Gregor Boirie <gregor.boirie@parrot.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2015-08-16iio: Move generic buffer implementations to sub-directoryLars-Peter Clausen1-0/+103
For generic IIO trigger implementations we already have a sub-directory, but the generic buffer implementations currently reside in the IIO top-level directory. The main reason is that things have historically grown into this form. With more generic buffer implementations on its way now is the perfect time to clean this up and introduce a sub-directory for generic buffer implementations to avoid too much clutter in the top-level directory. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>