Skip to content

Commit 15e4e74

Browse files
cdleonardchanwoochoi
authored andcommitted
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>
1 parent a440892 commit 15e4e74

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

‎drivers/devfreq/imx8m-ddrc.c‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,6 @@
1515

1616
#define IMX_SIP_DDR_DVFS 0xc2000004
1717

18-
/* Values starting from 0 switch to specific frequency */
19-
#define IMX_SIP_DDR_FREQ_SET_HIGH 0x00
20-
21-
/* Deprecated after moving IRQ handling to ATF */
22-
#define IMX_SIP_DDR_DVFS_WAIT_CHANGE 0x0F
23-
2418
/* Query available frequencies. */
2519
#define IMX_SIP_DDR_DVFS_GET_FREQ_COUNT 0x10
2620
#define IMX_SIP_DDR_DVFS_GET_FREQ_INFO 0x11

0 commit comments

Comments
 (0)