Commit 09ebe227 authored by Claudiu Beznea's avatar Claudiu Beznea Committed by Vinod Koul

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: default avatarClaudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20230214151827.1050280-8-claudiu.beznea@microchip.comSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 5056eae6
...@@ -2181,8 +2181,7 @@ static int __maybe_unused atmel_xdmac_resume(struct device *dev) ...@@ -2181,8 +2181,7 @@ static int __maybe_unused atmel_xdmac_resume(struct device *dev)
struct at_xdmac_chan *atchan; struct at_xdmac_chan *atchan;
struct dma_chan *chan, *_chan; struct dma_chan *chan, *_chan;
struct platform_device *pdev = container_of(dev, struct platform_device, dev); struct platform_device *pdev = container_of(dev, struct platform_device, dev);
int i; int i, ret;
int ret;
ret = clk_prepare_enable(atxdmac->clk); ret = clk_prepare_enable(atxdmac->clk);
if (ret) if (ret)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment