summaryrefslogtreecommitdiffstats
path: root/include/linux/soc/samsung
diff options
context:
space:
mode:
authorKrzysztof Kozlowski2017-01-25 20:09:44 +0100
committerKrzysztof Kozlowski2017-01-27 10:32:31 +0100
commitee55ae6194a5439bde3a3b8ee0abda63c610e740 (patch)
treef5413cb6e3dafc112ccdc24ac6fd386118a06bac /include/linux/soc/samsung
parentsoc: samsung: pmu: Remove unused and duplicated defines (diff)
downloadkernel-qcow2-linux-ee55ae6194a5439bde3a3b8ee0abda63c610e740.tar.gz
kernel-qcow2-linux-ee55ae6194a5439bde3a3b8ee0abda63c610e740.tar.xz
kernel-qcow2-linux-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 'include/linux/soc/samsung')
-rw-r--r--include/linux/soc/samsung/exynos-regs-pmu.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/soc/samsung/exynos-regs-pmu.h b/include/linux/soc/samsung/exynos-regs-pmu.h
index 9793502a6a57..9786c62d7159 100644
--- a/include/linux/soc/samsung/exynos-regs-pmu.h
+++ b/include/linux/soc/samsung/exynos-regs-pmu.h
@@ -149,8 +149,7 @@
#define EXYNOS_L2_OPTION(_nr) \
(EXYNOS_L2_CONFIGURATION(_nr) + 0x8)
-#define EXYNOS5_ARM_L2_OPTION 0x2608
-#define EXYNOS5_USE_RETENTION BIT(4)
+#define EXYNOS_L2_USE_RETENTION BIT(4)
#define S5P_PAD_RET_MAUDIO_OPTION 0x3028
#define S5P_PAD_RET_MMC2_OPTION 0x30c8