diff options
author | Peng Fan <Peng.Fan@freescale.com> | 2015-09-15 14:05:08 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2015-09-24 11:32:38 +0200 |
commit | f697c2acca9ff02c9b0cf480a4a726ed9626a53a (patch) | |
tree | c246916ba14edec24be7a90a68b7693dbcf40d2c /arch | |
parent | 60dba18801a5a7792c8469f42aef1d189a7d863d (diff) |
imx: fix coding style
Fix coding style.
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/cpu/armv7/mx7/soc.c | 2 | ||||
-rw-r--r-- | arch/arm/imx-common/init.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/cpu/armv7/mx7/soc.c b/arch/arm/cpu/armv7/mx7/soc.c index af16ba71f6..2ed05ea4f9 100644 --- a/arch/arm/cpu/armv7/mx7/soc.c +++ b/arch/arm/cpu/armv7/mx7/soc.c @@ -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) { diff --git a/arch/arm/imx-common/init.c b/arch/arm/imx-common/init.c index 058cf79744..15dab1d904 100644 --- a/arch/arm/imx-common/init.c +++ b/arch/arm/imx-common/init.c @@ -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. |