dmaengine: pxa_dma: use dmaenginem_async_device_register to simplify the code
authorHuang Shijie <sjhuang@iluvatar.ai>
Mon, 6 Aug 2018 08:52:29 +0000 (16:52 +0800)
committerVinod Koul <vkoul@kernel.org>
Wed, 29 Aug 2018 16:13:18 +0000 (21:43 +0530)
commitd72c5f98539d092692d5d94dfcb74e1d27588907
treeaa6f98d593d0c7e7d6318a65ff1a65493906af45
parent0f5a5e5700adeef1dc9660ec862f52506096c711
dmaengine: pxa_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>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/pxa_dma.c