dmaengine: axi-dmac: move to device managed probe
authorNuno Sa <nuno.sa@analog.com>
Thu, 28 Mar 2024 13:58:51 +0000 (14:58 +0100)
committerVinod Koul <vkoul@kernel.org>
Sun, 7 Apr 2024 11:40:20 +0000 (17:10 +0530)
commit779a44831a4f64616a2fb18256fc9c299e1c033a
treef16c5d252a5428867b2d34618542d92cdce14fdb
parent1bc31444209c8efae98cb78818131950d9a6f4d6
dmaengine: axi-dmac: move to device managed probe

In axi_dmac_probe(), there's a mix in using device managed APIs and
explicitly cleaning things in the driver .remove() hook. Move to use
device managed APIs and thus drop the .remove() hook.

Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20240328-axi-dmac-devm-probe-v3-2-523c0176df70@analog.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dma-axi-dmac.c