Skip to content

Commit 5e1e12d

Browse files
lumagandersson
authored andcommitted
clk: qcom: gcc-msm8994: use parent_hws for gpll0/4
Use parent_hws for two remaining clocks in gcc-msm8994 that used parent_names. Signed-off-by: Dmitry Baryshkov <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 129d9cd commit 5e1e12d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

drivers/clk/qcom/gcc-msm8994.c

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ static struct clk_alpha_pll_postdiv gpll0 = {
5252
.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
5353
.clkr.hw.init = &(struct clk_init_data){
5454
.name = "gpll0",
55-
.parent_names = (const char *[]) { "gpll0_early" },
55+
.parent_hws = (const struct clk_hw*[]){
56+
&gpll0_early.clkr.hw
57+
},
5658
.num_parents = 1,
5759
.ops = &clk_alpha_pll_postdiv_ops,
5860
},
@@ -81,7 +83,9 @@ static struct clk_alpha_pll_postdiv gpll4 = {
8183
.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
8284
.clkr.hw.init = &(struct clk_init_data){
8385
.name = "gpll4",
84-
.parent_names = (const char *[]) { "gpll4_early" },
86+
.parent_hws = (const struct clk_hw*[]){
87+
&gpll4_early.clkr.hw
88+
},
8589
.num_parents = 1,
8690
.ops = &clk_alpha_pll_postdiv_ops,
8791
},

0 commit comments

Comments
 (0)