]> git.sur5r.net Git - u-boot/commitdiff
cosmetic: mx6slevk: Minor coding-style fix
authorSebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
Fri, 20 May 2016 18:19:52 +0000 (14:19 -0400)
committerStefano Babic <sbabic@denx.de>
Tue, 31 May 2016 15:37:44 +0000 (17:37 +0200)
Fix the brace indentation in board_mmc_init().

Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
board/freescale/mx6slevk/mx6slevk.c

index f1915a8200680b6658a6b31d6179c5c0c6bbc76d..256d6029b4e6556ed13ad8f50312ccd7f445f1fa 100644 (file)
@@ -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;