dmaengine: ste_dma40: Pass dev to OF function
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 16 May 2023 12:55:35 +0000 (14:55 +0200)
committerVinod Koul <vkoul@kernel.org>
Tue, 16 May 2023 17:30:19 +0000 (23:00 +0530)
commite59d81e9173ae4b5037a81a08b1c5a6915b333e3
tree7625d60d622dafe5ef3360f5ccb27e99a81c71ec
parent42ae6f1695beed57958e7a2554e6d52dddc56e43
dmaengine: ste_dma40: Pass dev to OF function

The OF platform data population function only wants to
use struct device *dev, so pass that instead.

This change makes the compiler realize that the local
platform data variable is unused, so drop that too.

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