iio: buffer-dmaengine: remove non managed alloc/free
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Wed, 23 Sep 2020 12:18:10 +0000 (15:18 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 29 Sep 2020 16:27:06 +0000 (17:27 +0100)
commit25918a9c641c3c73ae94354605860c06fd73a05e
tree3ad725f3012da962ae5bf54f02b20d2580ab7a13
parent57e5b8bfd633b9237f0072ef8faeef9545a61ea1
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>
drivers/iio/buffer/industrialio-buffer-dmaengine.c
include/linux/iio/buffer-dmaengine.h