]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: dmatest: move test data alloc & free into functions
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Tue, 12 Feb 2019 15:11:39 +0000 (17:11 +0200)
committerVinod Koul <vkoul@kernel.org>
Mon, 25 Feb 2019 17:43:50 +0000 (23:13 +0530)
commit00f6bb7ba66ffa12efcd051cead882a95a11b5ea
treebc3ce18d214657cd5629b850e9bd5b7e374424da
parentf0d06e90262a05590ed288ca99b9f78f460bfc98
dmaengine: dmatest: move test data alloc & free into functions

This patch starts to take advantage of the `dmatest_data` struct by moving
the common allocation & free-ing bits into functions.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dmatest.c