dmaengine: add a new helper dmaenginem_async_device_register
authorHuang Shijie <sjhuang@iluvatar.ai>
Thu, 26 Jul 2018 06:45:53 +0000 (14:45 +0800)
committerVinod Koul <vkoul@kernel.org>
Mon, 30 Jul 2018 05:20:22 +0000 (10:50 +0530)
commitf39b948dbeaf9da0dfd17e68704f38fe4237788f
tree398e038a9d6dad68808d424deedf6ec13dfefd54
parentec8ca8e3b4809bf603814a8834bfd3891e1ccf74
dmaengine: add a new helper dmaenginem_async_device_register

This patch adds the dmaenginem_async_device_register for DMA code.
Use the Devres to call the release for the DMA engine driver.

Signed-off-by: Huang Shijie <sjhuang@iluvatar.ai>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/driver-model/devres.txt
drivers/dma/dmaengine.c
include/linux/dmaengine.h