summaryrefslogtreecommitdiffstats
path: root/drivers/devfreq
diff options
context:
space:
mode:
authorLeonard Crestez <leonard.crestez@nxp.com>2019-12-19 16:42:47 +0100
committerChanwoo Choi <cw00.choi@samsung.com>2019-12-30 01:59:06 +0100
commit15e4e74ea899515bf4eaf6d400d0c04f5433f15a (patch)
tree7c73e2828330480214b44d77309bd3acd34a4215 /drivers/devfreq
parentPM / devfreq: exynos-bus: Reduce goto statements and remove unused headers (diff)
downloadlinux-15e4e74ea899515bf4eaf6d400d0c04f5433f15a.tar.xz
linux-15e4e74ea899515bf4eaf6d400d0c04f5433f15a.zip
PM / devfreq: imx8m-ddrc: Remove unused defines
The IMX_SIP_DDR_DVFS_WAIT_CHANGE and IMX_SIP_DDR_FREQ_SET_HIGH defines are not used so they can be removed. Fixes: 518e99e2a22e ("PM / devfreq: Add dynamic scaling for imx8m ddr controller") Reported-by: Shawn Guo <shawn.guo@kernel.org> Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/devfreq')
-rw-r--r--drivers/devfreq/imx8m-ddrc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/devfreq/imx8m-ddrc.c b/drivers/devfreq/imx8m-ddrc.c
index 01ff9afdc8bf..53df7923d893 100644
--- a/drivers/devfreq/imx8m-ddrc.c
+++ b/drivers/devfreq/imx8m-ddrc.c
@@ -15,12 +15,6 @@
#define IMX_SIP_DDR_DVFS 0xc2000004
-/* Values starting from 0 switch to specific frequency */
-#define IMX_SIP_DDR_FREQ_SET_HIGH 0x00
-
-/* Deprecated after moving IRQ handling to ATF */
-#define IMX_SIP_DDR_DVFS_WAIT_CHANGE 0x0F
-
/* Query available frequencies. */
#define IMX_SIP_DDR_DVFS_GET_FREQ_COUNT 0x10
#define IMX_SIP_DDR_DVFS_GET_FREQ_INFO 0x11