Skip to content

Commit 18510fd

Browse files
prabhakarladgeertu
authored andcommitted
clk: renesas: rzv2h: Remove unused type field from struct pll_clk
Remove the redundant `type` field from `struct pll_clk`, as it is not used in the PLL clock handling logic. Signed-off-by: Lad Prabhakar <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
1 parent 20fc4ea commit 18510fd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/clk/renesas/rzv2h-cpg.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ struct pll_clk {
9797
void __iomem *base;
9898
struct clk_hw hw;
9999
struct pll pll;
100-
unsigned int type;
101100
};
102101

103102
#define to_pll(_hw) container_of(_hw, struct pll_clk, hw)
@@ -199,7 +198,6 @@ rzv2h_cpg_pll_clk_register(const struct cpg_core_clk *core,
199198
pll_clk->pll = core->cfg.pll;
200199
pll_clk->base = base;
201200
pll_clk->priv = priv;
202-
pll_clk->type = core->type;
203201

204202
ret = devm_clk_hw_register(dev, &pll_clk->hw);
205203
if (ret)

0 commit comments

Comments
 (0)