aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/soc/samsung/exynos5250-pmu.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2017-01-25 21:09:44 +0200
committerKrzysztof Kozlowski <krzk@kernel.org>2017-01-27 11:32:31 +0200
commitee55ae6194a5439bde3a3b8ee0abda63c610e740 (patch)
treef5413cb6e3dafc112ccdc24ac6fd386118a06bac /drivers/soc/samsung/exynos5250-pmu.c
parentsoc: samsung: pmu: Remove unused and duplicated defines (diff)
downloadlinux-dev-ee55ae6194a5439bde3a3b8ee0abda63c610e740.tar.xz
linux-dev-ee55ae6194a5439bde3a3b8ee0abda63c610e740.zip
soc: samsung: pmu: Remove duplicated define for ARM_L2_OPTION register
The register ARM_L2_OPTION (0x2608 in Exynos4 and Exynos5 PMU) was defined twice. Both names were used in the Exynos542x code. Simplify this. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'drivers/soc/samsung/exynos5250-pmu.c')
-rw-r--r--drivers/soc/samsung/exynos5250-pmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/samsung/exynos5250-pmu.c b/drivers/soc/samsung/exynos5250-pmu.c
index 3fac42561964..8d94f0819f32 100644
--- a/drivers/soc/samsung/exynos5250-pmu.c
+++ b/drivers/soc/samsung/exynos5250-pmu.c
@@ -29,7 +29,7 @@ static const struct exynos_pmu_conf exynos5250_pmu_config[] = {
{ EXYNOS5_DIS_IRQ_ISP_ARM_CENTRAL_SYS_PWR_REG, { 0x0, 0x0, 0x0} },
{ EXYNOS5_ARM_COMMON_SYS_PWR_REG, { 0x0, 0x0, 0x2} },
{ EXYNOS5_ARM_L2_SYS_PWR_REG, { 0x3, 0x3, 0x3} },
- { EXYNOS5_ARM_L2_OPTION, { 0x10, 0x10, 0x0 } },
+ { EXYNOS_L2_OPTION(0), { 0x10, 0x10, 0x0 } },
{ EXYNOS5_CMU_ACLKSTOP_SYS_PWR_REG, { 0x1, 0x0, 0x1} },
{ EXYNOS5_CMU_SCLKSTOP_SYS_PWR_REG, { 0x1, 0x0, 0x1} },
{ EXYNOS5_CMU_RESET_SYS_PWR_REG, { 0x1, 0x1, 0x0} },