diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-12-05 18:31:37 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-12-10 01:42:51 +0900 |
commit | 996fcdadba5fc49d52131d0f09663c7f3e6bf1b8 (patch) | |
tree | 48a4e3c4a31527865f51718b2ced75761366d67f | |
parent | 82ff6c392f9cf3df14b2636b09798b1f939e2e0b (diff) | |
download | u-boot-imx-996fcdadba5fc49d52131d0f09663c7f3e6bf1b8.zip u-boot-imx-996fcdadba5fc49d52131d0f09663c7f3e6bf1b8.tar.gz u-boot-imx-996fcdadba5fc49d52131d0f09663c7f3e6bf1b8.tar.bz2 |
ARM: uniphier: remove unneeded parentheses
Just a cosmetic cleanup.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
-rw-r--r-- | arch/arm/mach-uniphier/dram/umc-ld20.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-uniphier/dram/umc-ld20.c b/arch/arm/mach-uniphier/dram/umc-ld20.c index b8c0f59..ecbe101 100644 --- a/arch/arm/mach-uniphier/dram/umc-ld20.c +++ b/arch/arm/mach-uniphier/dram/umc-ld20.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2016 Socionext Inc. * - * based on commit a7a36122aa072fe1bb06e02b73b3634b7a6c555a of Diag + * based on commit 5e1cb0f1caeabc6c99469dd997cb6b4f46834443 of Diag * * SPDX-License-Identifier: GPL-2.0+ */ @@ -264,8 +264,8 @@ static int ddrphy_ip_dq_shift_val[DRAM_BOARD_NR][DRAM_CH_NR][32] = { static void ddrphy_select_lane(void __iomem *phy_base, unsigned int lane, unsigned int bit) { - WARN_ON(lane >= (1 << PHY_LANE_SEL_LANE_WIDTH)); - WARN_ON(bit >= (1 << PHY_LANE_SEL_BIT_WIDTH)); + WARN_ON(lane >= 1 << PHY_LANE_SEL_LANE_WIDTH); + WARN_ON(bit >= 1 << PHY_LANE_SEL_BIT_WIDTH); writel((bit << PHY_LANE_SEL_BIT_SHIFT) | (lane << PHY_LANE_SEL_LANE_SHIFT), |