dmaengine: ste_dma40: Use managed resources
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 16 May 2023 12:55:36 +0000 (14:55 +0200)
committerVinod Koul <vkoul@kernel.org>
Tue, 16 May 2023 17:30:19 +0000 (23:00 +0530)
commit339f5041089a22646372d3ebdeec94c25e8d4e29
tree6b07a3a6b1ca698f879295d061298c22e75a98bf
parente59d81e9173ae4b5037a81a08b1c5a6915b333e3
dmaengine: ste_dma40: Use managed resources

This switches the DMA40 driver to use a bunch of managed
resources and strip down the errorpath.

The result is pretty neat and makes the driver way more
readable.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20230417-ux500-dma40-cleanup-v3-6-60bfa6785968@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/ste_dma40.c