Skip to content
Commit a5f99a95 authored by Huang Shijie's avatar Huang Shijie Committed by Vinod Koul
Browse files

dmaengine: mmp_tdma: use dmaenginem_async_device_register to simplify the code



Use dmaenginem_async_device_register to simplify the code:
	remove dma_async_device_unregister.
	return error if it fails.

Signed-off-by: default avatarHuang Shijie <sjhuang@iluvatar.ai>
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 42f604b6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment