dmaengine: at_xdmac: align declaration of ret with the rest of variables
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Tue, 14 Feb 2023 15:18:27 +0000 (17:18 +0200)
committerVinod Koul <vkoul@kernel.org>
Wed, 12 Apr 2023 17:48:44 +0000 (23:18 +0530)
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>
drivers/dma/at_xdmac.c

index 7ff6ca01e0b55a8c64b4d2476482949763e46cf6..7da6d9b6098e719e531052c9aa938b669dfc3149 100644 (file)
@@ -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)