diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2017-01-25 22:09:44 +0300 |
---|---|---|
committer | Krzysztof Kozlowski <krzk@kernel.org> | 2017-01-27 12:32:31 +0300 |
commit | ee55ae6194a5439bde3a3b8ee0abda63c610e740 (patch) | |
tree | f5413cb6e3dafc112ccdc24ac6fd386118a06bac /drivers/soc/samsung/exynos5420-pmu.c | |
parent | 4cb3e3782776f82400a5d135909dda466b813d45 (diff) | |
download | linux-ee55ae6194a5439bde3a3b8ee0abda63c610e740.tar.xz |
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/exynos5420-pmu.c')
-rw-r--r-- | drivers/soc/samsung/exynos5420-pmu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/soc/samsung/exynos5420-pmu.c b/drivers/soc/samsung/exynos5420-pmu.c index 3f2c64180ef8..0a89fa79c678 100644 --- a/drivers/soc/samsung/exynos5420-pmu.c +++ b/drivers/soc/samsung/exynos5420-pmu.c @@ -230,11 +230,11 @@ static void exynos5420_pmu_init(void) pmu_raw_writel(EXYNOS5420_USE_STANDBY_WFI_ALL, S5P_CENTRAL_SEQ_OPTION); value = pmu_raw_readl(EXYNOS_L2_OPTION(0)); - value &= ~EXYNOS5_USE_RETENTION; + value &= ~EXYNOS_L2_USE_RETENTION; pmu_raw_writel(value, EXYNOS_L2_OPTION(0)); value = pmu_raw_readl(EXYNOS_L2_OPTION(1)); - value &= ~EXYNOS5_USE_RETENTION; + value &= ~EXYNOS_L2_USE_RETENTION; pmu_raw_writel(value, EXYNOS_L2_OPTION(1)); /* |