diff options
author | Alexandru Ardelean <alexandru.ardelean@analog.com> | 2020-09-23 15:18:10 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-09-29 17:27:06 +0100 |
commit | 25918a9c641c3c73ae94354605860c06fd73a05e (patch) | |
tree | 3ad725f3012da962ae5bf54f02b20d2580ab7a13 /include/linux/iio | |
parent | 57e5b8bfd633b9237f0072ef8faeef9545a61ea1 (diff) | |
download | linux-25918a9c641c3c73ae94354605860c06fd73a05e.tar.gz linux-25918a9c641c3c73ae94354605860c06fd73a05e.tar.bz2 linux-25918a9c641c3c73ae94354605860c06fd73a05e.zip |
iio: buffer-dmaengine: remove non managed alloc/free
This is to encourage the use of devm_iio_dmaengine_buffer_alloc().
Currently the managed version of the DMAEngine buffer alloc is the only
function used from this part of the framework.
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20200923121810.944075-1-alexandru.ardelean@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/iio')
-rw-r--r-- | include/linux/iio/buffer-dmaengine.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/iio/buffer-dmaengine.h b/include/linux/iio/buffer-dmaengine.h index 0e503db71289..5b502291d6a4 100644 --- a/include/linux/iio/buffer-dmaengine.h +++ b/include/linux/iio/buffer-dmaengine.h @@ -10,10 +10,6 @@ struct iio_buffer; struct device; -struct iio_buffer *iio_dmaengine_buffer_alloc(struct device *dev, - const char *channel); -void iio_dmaengine_buffer_free(struct iio_buffer *buffer); - struct iio_buffer *devm_iio_dmaengine_buffer_alloc(struct device *dev, const char *channel); |