All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] cosmetic: mx6slevk: Minor coding-style fix
@ 2016-05-20 18:19 Sebastien Bourdelin
  0 siblings, 0 replies; only message in thread
From: Sebastien Bourdelin @ 2016-05-20 18:19 UTC (permalink / raw)
  To: u-boot

Fix the brace indentation in board_mmc_init().

Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
---
 board/freescale/mx6slevk/mx6slevk.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/board/freescale/mx6slevk/mx6slevk.c b/board/freescale/mx6slevk/mx6slevk.c
index f1915a8..256d602 100644
--- a/board/freescale/mx6slevk/mx6slevk.c
+++ b/board/freescale/mx6slevk/mx6slevk.c
@@ -230,14 +230,14 @@ int board_mmc_init(bd_t *bis)
 			printf("Warning: you configured more USDHC controllers"
 				"(%d) than supported by the board\n", i + 1);
 			return -EINVAL;
-			}
-
-			ret = fsl_esdhc_initialize(bis, &usdhc_cfg[i]);
-			if (ret) {
-				printf("Warning: failed to initialize "
-					"mmc dev %d\n", i);
-				return ret;
-			}
+		}
+
+		ret = fsl_esdhc_initialize(bis, &usdhc_cfg[i]);
+		if (ret) {
+			printf("Warning: failed to initialize "
+				"mmc dev %d\n", i);
+			return ret;
+		}
 	}
 
 	return 0;
-- 
2.8.0

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-05-20 18:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-20 18:19 [U-Boot] [PATCH] cosmetic: mx6slevk: Minor coding-style fix Sebastien Bourdelin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.