imx: fix coding style
authorPeng Fan <Peng.Fan@freescale.com>
Tue, 15 Sep 2015 06:05:08 +0000 (14:05 +0800)
committerStefano Babic <sbabic@denx.de>
Thu, 24 Sep 2015 09:32:38 +0000 (11:32 +0200)
Fix coding style.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
arch/arm/cpu/armv7/mx7/soc.c
arch/arm/imx-common/init.c

index af16ba71f6d316b38f93290d95bd2e753321b749..2ed05ea4f941ad446bf3fa237984f46fc45a94a4 100644 (file)
@@ -79,7 +79,7 @@ u32 get_cpu_temp_grade(int *minc, int *maxc)
        val &= 0x3;
 
        if (minc && maxc) {
-               if ( val == TEMP_AUTOMOTIVE) {
+               if (val == TEMP_AUTOMOTIVE) {
                        *minc = -40;
                        *maxc = 125;
                } else if (val == TEMP_INDUSTRIAL) {
index 058cf79744633107b2091c0188049140609403d7..15dab1d904239accc3676956ec5a8acbf3d8e444 100644 (file)
@@ -44,8 +44,7 @@ void init_aips(void)
        writel(0x00000000, &aips2->opacr3);
        writel(0x00000000, &aips2->opacr4);
 
-       if (is_cpu_type(MXC_CPU_MX6SX) || is_soc_type(MXC_SOC_MX7))
-       {
+       if (is_cpu_type(MXC_CPU_MX6SX) || is_soc_type(MXC_SOC_MX7)) {
                /*
                 * Set all MPROTx to be non-bufferable, trusted for R/W,
                 * not forced to user-mode.