summaryrefslogtreecommitdiff
path: root/drivers/dma
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea@microchip.com>2023-02-14 17:18:27 +0200
committerVinod Koul <vkoul@kernel.org>2023-04-12 23:18:44 +0530
commit09ebe227c2236c6d0ce427ce10da3e4d66946f57 (patch)
tree5eb62ed42094fb2b810ed0ecd2708de3c769edec /drivers/dma
parent5056eae6c32d709bab506ca032ac4f7effc9db2f (diff)
dmaengine: at_xdmac: align declaration of ret with the rest of variables
Align the declaration of ret in atmel_xdmac_resume() with the rest of variables. Do this by adding ret to the line with declaration for i variable. Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Link: https://lore.kernel.org/r/20230214151827.1050280-8-claudiu.beznea@microchip.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/at_xdmac.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/dma/at_xdmac.c b/drivers/dma/at_xdmac.c
index 7ff6ca01e0b5..7da6d9b6098e 100644
--- a/drivers/dma/at_xdmac.c
+++ b/drivers/dma/at_xdmac.c
@@ -2181,8 +2181,7 @@ static int __maybe_unused atmel_xdmac_resume(struct device *dev)
struct at_xdmac_chan *atchan;
struct dma_chan *chan, *_chan;
struct platform_device *pdev = container_of(dev, struct platform_device, dev);
- int i;
- int ret;
+ int i, ret;
ret = clk_prepare_enable(atxdmac->clk);
if (ret)