]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit3b6679f91e6f7772b7bfa3417b637f09e5998357
treebc3ce18d214657cd5629b850e9bd5b7e374424da
parent41d00bb7a60fadbae76e1826bd27a320e18c769f
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