dmaengine: st_fdma: use dmaenginem_async_device_register to simplify the code
authorHuang Shijie <sjhuang@iluvatar.ai>
Mon, 6 Aug 2018 09:43:28 +0000 (17:43 +0800)
committerVinod Koul <vkoul@kernel.org>
Wed, 29 Aug 2018 16:13:17 +0000 (21:43 +0530)
commita5c1d8ec733cc354e810bbc30dc0904ddd684976
treeb134f79d9dcac51ab1a559e7fc6600e08a8d7722
parent5b394b2ddf0347bef56e50c69a58773c94343ff3
dmaengine: st_fdma: 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_dma_dev

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