dmaengine: mxs-dma: use dmaenginem_async_device_register to simplify the code
authorHuang Shijie <sjhuang@iluvatar.ai>
Mon, 6 Aug 2018 08:52:30 +0000 (16:52 +0800)
committerVinod Koul <vkoul@kernel.org>
Wed, 29 Aug 2018 16:13:18 +0000 (21:43 +0530)
commitfbb69ece0462ae95bbdff3ade9288bb5f1709f26
treeef22a870fe2913040869294a3b1890e9a5d4961f
parentd72c5f98539d092692d5d94dfcb74e1d27588907
dmaengine: mxs-dma: use dmaenginem_async_device_register to simplify the code

Use dmaenginem_async_device_register to simplify the code:
remove dma_async_device_unregister.

Signed-off-by: Huang Shijie <sjhuang@iluvatar.ai>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/mxs-dma.c