]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: omap4: panda: Fix checkpatch on panda file
authorDan Murphy <dmurphy@ti.com>
Thu, 13 Jun 2013 16:21:26 +0000 (11:21 -0500)
committerTom Rini <trini@ti.com>
Tue, 18 Jun 2013 14:43:30 +0000 (10:43 -0400)
Fix the checkpatch warning on the panda.c file for leading
spaces.
Fix the CHECK warnings on the panda.c file for parenthesis alignment.

Signed-off-by: Dan Murphy <dmurphy@ti.com>
board/ti/panda/panda.c

index 84c863d901cc24ea6df4175cd13295aa5052a280..1da5b359c020d660d99816790e9b74922abcdd6e 100644 (file)
@@ -174,7 +174,7 @@ int misc_init_r(void)
                auxclk |= AUXCLK_ENABLE_MASK;
 
                writel(auxclk, &scrm->auxclk3);
-       } else {
+       } else {
                /* ULPI PHY supplied by auxclk1 derived from PER dpll */
                debug("ULPI PHY supplied by auxclk1\n");
 
@@ -219,9 +219,9 @@ void set_muxconf_regs_essential(void)
 
        if (omap_revision() >= OMAP4460_ES1_0)
                do_set_mux((*ctrl)->control_padconf_wkup_base,
-                                wkup_padconf_array_essential_4460,
-                                sizeof(wkup_padconf_array_essential_4460) /
-                                sizeof(struct pad_conf_entry));
+                          wkup_padconf_array_essential_4460,
+                          sizeof(wkup_padconf_array_essential_4460) /
+                          sizeof(struct pad_conf_entry));
 }
 
 void set_muxconf_regs_non_essential(void)
@@ -233,14 +233,14 @@ void set_muxconf_regs_non_essential(void)
 
        if (omap_revision() < OMAP4460_ES1_0)
                do_set_mux((*ctrl)->control_padconf_core_base,
-                               core_padconf_array_non_essential_4430,
-                               sizeof(core_padconf_array_non_essential_4430) /
-                               sizeof(struct pad_conf_entry));
+                          core_padconf_array_non_essential_4430,
+                          sizeof(core_padconf_array_non_essential_4430) /
+                          sizeof(struct pad_conf_entry));
        else
                do_set_mux((*ctrl)->control_padconf_core_base,
-                               core_padconf_array_non_essential_4460,
-                               sizeof(core_padconf_array_non_essential_4460) /
-                               sizeof(struct pad_conf_entry));
+                          core_padconf_array_non_essential_4460,
+                          sizeof(core_padconf_array_non_essential_4460) /
+                          sizeof(struct pad_conf_entry));
 
        do_set_mux((*ctrl)->control_padconf_wkup_base,
                   wkup_padconf_array_non_essential,
@@ -249,9 +249,9 @@ void set_muxconf_regs_non_essential(void)
 
        if (omap_revision() < OMAP4460_ES1_0)
                do_set_mux((*ctrl)->control_padconf_wkup_base,
-                               wkup_padconf_array_non_essential_4430,
-                               sizeof(wkup_padconf_array_non_essential_4430) /
-                               sizeof(struct pad_conf_entry));
+                          wkup_padconf_array_non_essential_4430,
+                          sizeof(wkup_padconf_array_non_essential_4430) /
+                          sizeof(struct pad_conf_entry));
 }
 
 #if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_GENERIC_MMC)