Skip to content

Commit 646bfc5

Browse files
ziyao233mmind
authored andcommitted
clk: rockchip: Drop empty init callback for rk3588 PLL type
Unlike PLLs in previous geneation of SoCs, PLLs in RK3588 type don't require any platform-specific initialization. Drop callback rockchip_rk3588_pll_init() that does nothing in fact to clean the driver up. Signed-off-by: Yao Zi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent 831a8ac commit 646bfc5

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

drivers/clk/rockchip/clk-pll.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,16 +1027,6 @@ static int rockchip_rk3588_pll_is_enabled(struct clk_hw *hw)
10271027
return !(pllcon & RK3588_PLLCON1_PWRDOWN);
10281028
}
10291029

1030-
static int rockchip_rk3588_pll_init(struct clk_hw *hw)
1031-
{
1032-
struct rockchip_clk_pll *pll = to_rockchip_clk_pll(hw);
1033-
1034-
if (!(pll->flags & ROCKCHIP_PLL_SYNC_RATE))
1035-
return 0;
1036-
1037-
return 0;
1038-
}
1039-
10401030
static const struct clk_ops rockchip_rk3588_pll_clk_norate_ops = {
10411031
.recalc_rate = rockchip_rk3588_pll_recalc_rate,
10421032
.enable = rockchip_rk3588_pll_enable,
@@ -1051,7 +1041,6 @@ static const struct clk_ops rockchip_rk3588_pll_clk_ops = {
10511041
.enable = rockchip_rk3588_pll_enable,
10521042
.disable = rockchip_rk3588_pll_disable,
10531043
.is_enabled = rockchip_rk3588_pll_is_enabled,
1054-
.init = rockchip_rk3588_pll_init,
10551044
};
10561045

10571046
/*

0 commit comments

Comments
 (0)