[next] net: ethernet: stmmac: fix indentation issue
diff mbox series

Message ID 20191113162238.102771-1-colin.king@canonical.com
State Mainlined
Commit 945fe45759bc001c1f81e25fbe9a40b43e59f7b5
Headers show
Series
  • [next] net: ethernet: stmmac: fix indentation issue
Related show

Commit Message

Colin King Nov. 13, 2019, 4:22 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

There is a return statement that is indented too deeply, remove
the extraneous tab.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

David Miller Nov. 13, 2019, 8:33 p.m. UTC | #1
From: Colin King <colin.king@canonical.com>
Date: Wed, 13 Nov 2019 16:22:38 +0000

> From: Colin Ian King <colin.king@canonical.com>
> 
> There is a return statement that is indented too deeply, remove
> the extraneous tab.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Applied, thanks Colin.

Patch
diff mbox series

diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c
index 95ffaec4ab42..9b7be996d07b 100644
--- a/drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c
+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c
@@ -158,7 +158,7 @@  static int stm32mp1_clk_prepare(struct stm32_dwmac *dwmac, bool prepare)
 		ret = clk_prepare_enable(dwmac->clk_eth_ck);
 		if (ret) {
 			clk_disable_unprepare(dwmac->syscfg_clk);
-				return ret;
+			return ret;
 		}
 	} else {
 		clk_disable_unprepare(dwmac->syscfg_clk);