2019-10-15 07:25:26

by Peng Fan

[permalink] [raw]
Subject: [PATCH] clk: imx: imx8mn: drop unused pll enum

From: Peng Fan <[email protected]>

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

Signed-off-by: Peng Fan <[email protected]>
---
drivers/clk/imx/clk-imx8mn.c | 14 --------------
1 file changed, 14 deletions(-)

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", };
--
2.16.4


2019-10-17 13:27:11

by Stephen Boyd

[permalink] [raw]
Subject: Re: [PATCH] clk: imx: imx8mn: drop unused pll enum

Quoting Peng Fan (2019-10-15 00:05:53)
> From: Peng Fan <[email protected]>
>
> The PLL enum definition is not used, so drop it.
>
> Signed-off-by: Peng Fan <[email protected]>
> ---

Was it ever used?

Applied to clk-next

2019-10-18 05:26:44

by Peng Fan

[permalink] [raw]
Subject: RE: [PATCH] clk: imx: imx8mn: drop unused pll enum

> Subject: Re: [PATCH] clk: imx: imx8mn: drop unused pll enum
>
> Quoting Peng Fan (2019-10-15 00:05:53)
> > From: Peng Fan <[email protected]>
> >
> > The PLL enum definition is not used, so drop it.
> >
> > Signed-off-by: Peng Fan <[email protected]>
> > ---
>
> Was it ever used?

Seems no. It might be added by mistaken.

>
> Applied to clk-next

Thanks,
Peng.