dmaengine: ste_dma40: Add dev helper variable
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 16 May 2023 12:55:33 +0000 (14:55 +0200)
committerVinod Koul <vkoul@kernel.org>
Tue, 16 May 2023 17:30:19 +0000 (23:00 +0530)
commitfb85a8c51784f46b4ddd8bdad3c6bcacd0e5ad2b
treeb5e64f3faacd480a3ec70513ac811e48c92aa9e7
parent5a1a3b9c19ddeddc6b0c2ea1da7fbe6624c04c7e
dmaengine: ste_dma40: Add dev helper variable

The &pdev->dev device pointer is used so many times in the
probe() and d40_hw_detect_init() functions that a local *dev
variable makes the code way easier to read.

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