dmaengine: mic_x100_dma: use the new helper to simplify the code
authorHuang Shijie <sjhuang@iluvatar.ai>
Thu, 26 Jul 2018 06:45:54 +0000 (14:45 +0800)
committerVinod Koul <vkoul@kernel.org>
Mon, 30 Jul 2018 05:20:22 +0000 (10:50 +0530)
commitf6206f00d8c55a1beba9a4be96939353e632f939
tree6461a89b578b3e6a3556b470f5b9a741793c7161
parentf39b948dbeaf9da0dfd17e68704f38fe4237788f
dmaengine: mic_x100_dma: use the new helper to simplify the code

Use dmaenginem_async_device_register() to simplify the code:
    remove the mic_dma_unregister_dma_device()

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