summaryrefslogtreecommitdiffstats
path: root/drivers/dma/zx_dma.c
diff options
context:
space:
mode:
authorSatendra Singh Thakur <sst2005@gmail.com>2019-11-09 17:06:09 +0530
committerVinod Koul <vkoul@kernel.org>2019-11-14 12:16:53 +0530
commit5c5332a6a229acc856811bdce1c0845986e8306a (patch)
treeb26819ca08ed4c8420f58f4c87a8a5d5470804bd /drivers/dma/zx_dma.c
parent1ff95243257fad07290dcbc5f7a6ad79d6e703e2 (diff)
downloadlinux-5c5332a6a229acc856811bdce1c0845986e8306a.tar.bz2
dmaengine: zx: remove: removed dmam_pool_destroy
In the probe method dmam_pool_create is used. Therefore, there is no need to explicitly call dmam_pool_destroy in remove method as this will be automatically taken care by devres Signed-off-by: Satendra Singh Thakur <sst2005@gmail.com> Link: https://lore.kernel.org/r/20191109113609.6159-1-sst2005@gmail.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/zx_dma.c')
-rw-r--r--drivers/dma/zx_dma.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/dma/zx_dma.c b/drivers/dma/zx_dma.c
index 6b457e683e70..5fe2e8b9a7b8 100644
--- a/drivers/dma/zx_dma.c
+++ b/drivers/dma/zx_dma.c
@@ -889,7 +889,6 @@ static int zx_dma_remove(struct platform_device *op)
list_del(&c->vc.chan.device_node);
}
clk_disable_unprepare(d->clk);
- dmam_pool_destroy(d->pool);
return 0;
}