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

Use dmaenginem_async_device_register to simplify the code:
remove dma_async_device_unregister.
remove label err_unregister_dev

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