Skip to content

Commit ccdf745

Browse files
committed
clk: renesas: rcar-gen4: Remove unused variable PLL2 clock type
The variable PLL2 clock type was superseded by the more generic variable fractional 8.25 PLL clock type, and its sole user was converted. Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Yoshihiro Shimoda <[email protected]> Link: https://lore.kernel.org/8e5564958002351f29435f63de1304fb3b51a725.1721648548.git.geert+renesas@glider.be
1 parent 2cf316b commit ccdf745

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

drivers/clk/renesas/rcar-gen4-cpg.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -440,15 +440,6 @@ struct clk * __init rcar_gen4_cpg_clk_register(struct device *dev,
440440
div = cpg_pll_config->pll1_div;
441441
break;
442442

443-
case CLK_TYPE_GEN4_PLL2_VAR:
444-
/*
445-
* PLL2 is implemented as a custom clock, to change the
446-
* multiplier when cpufreq changes between normal and boost
447-
* modes.
448-
*/
449-
return cpg_pll_clk_register(core->name, __clk_get_name(parent),
450-
base, 2, &cpg_pll_v8_25_clk_ops);
451-
452443
case CLK_TYPE_GEN4_PLL2:
453444
mult = cpg_pll_config->pll2_mult;
454445
div = cpg_pll_config->pll2_div;

drivers/clk/renesas/rcar-gen4-cpg.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ enum rcar_gen4_clk_types {
1313
CLK_TYPE_GEN4_MAIN = CLK_TYPE_CUSTOM,
1414
CLK_TYPE_GEN4_PLL1,
1515
CLK_TYPE_GEN4_PLL2,
16-
CLK_TYPE_GEN4_PLL2_VAR,
1716
CLK_TYPE_GEN4_PLL2X_3X, /* r8a779a0 only */
1817
CLK_TYPE_GEN4_PLL3,
1918
CLK_TYPE_GEN4_PLL4,

0 commit comments

Comments
 (0)