diff options
author | Satendra Singh Thakur <sst2005@gmail.com> | 2019-11-09 14:36:09 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-11-14 09:46:53 +0300 |
commit | 5c5332a6a229acc856811bdce1c0845986e8306a (patch) | |
tree | b26819ca08ed4c8420f58f4c87a8a5d5470804bd /drivers/dma | |
parent | 1ff95243257fad07290dcbc5f7a6ad79d6e703e2 (diff) | |
download | linux-5c5332a6a229acc856811bdce1c0845986e8306a.tar.xz |
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')
-rw-r--r-- | drivers/dma/zx_dma.c | 1 |
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; } |