]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitef7ef789af8664917abe5c3ab7483b12d5a9f2dc
tree3ad725f3012da962ae5bf54f02b20d2580ab7a13
parentc2bd38e6d0b160f4a2b2b340f43fda7ae0bae04f
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