clk: imx: imx8mn: drop unused pll enum
diff mbox series

Message ID 1571122989-29361-1-git-send-email-peng.fan@nxp.com
State New
Headers show
Series
  • clk: imx: imx8mn: drop unused pll enum
Related show

Commit Message

Peng Fan Oct. 15, 2019, 7:05 a.m. UTC
From: Peng Fan <peng.fan@nxp.com>

The PLL enum definition is not used, so drop it.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 drivers/clk/imx/clk-imx8mn.c | 14 --------------
 1 file changed, 14 deletions(-)

Comments

Stephen Boyd Oct. 16, 2019, 8:06 p.m. UTC | #1
Quoting Peng Fan (2019-10-15 00:05:53)
> From: Peng Fan <peng.fan@nxp.com>
> 
> The PLL enum definition is not used, so drop it.
> 
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---

Was it ever used?

Applied to clk-next
Peng Fan Oct. 17, 2019, 12:47 a.m. UTC | #2
> Subject: Re: [PATCH] clk: imx: imx8mn: drop unused pll enum
> 
> Quoting Peng Fan (2019-10-15 00:05:53)
> > From: Peng Fan <peng.fan@nxp.com>
> >
> > The PLL enum definition is not used, so drop it.
> >
> > Signed-off-by: Peng Fan <peng.fan@nxp.com>
> > ---
> 
> Was it ever used?

Seems no. It might be added by mistaken. 

> 
> Applied to clk-next

Thanks,
Peng.

Patch
diff mbox series

diff --git a/drivers/clk/imx/clk-imx8mn.c b/drivers/clk/imx/clk-imx8mn.c
index 28467db10c69..6ab6e9228962 100644
--- a/drivers/clk/imx/clk-imx8mn.c
+++ b/drivers/clk/imx/clk-imx8mn.c
@@ -25,20 +25,6 @@  static u32 share_count_disp;
 static u32 share_count_pdm;
 static u32 share_count_nand;
 
-enum {
-	ARM_PLL,
-	GPU_PLL,
-	VPU_PLL,
-	SYS_PLL1,
-	SYS_PLL2,
-	SYS_PLL3,
-	DRAM_PLL,
-	AUDIO_PLL1,
-	AUDIO_PLL2,
-	VIDEO_PLL2,
-	NR_PLLS,
-};
-
 static const char * const pll_ref_sels[] = { "osc_24m", "dummy", "dummy", "dummy", };
 static const char * const audio_pll1_bypass_sels[] = {"audio_pll1", "audio_pll1_ref_sel", };
 static const char * const audio_pll2_bypass_sels[] = {"audio_pll2", "audio_pll2_ref_sel", };