Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: qcom: gpucc-sdm660: fix two clocks with parent_names

Two clocks are still using parent_names, use parent_hws instead.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211228045415.20543-2-dmitry.baryshkov@linaro.org

authored by

Dmitry Baryshkov and committed by
Bjorn Andersson
30ac9f35 cc517ea3

+4 -4
+4 -4
drivers/clk/qcom/gpucc-sdm660.c
··· 204 204 .enable_mask = BIT(0), 205 205 .hw.init = &(struct clk_init_data){ 206 206 .name = "gpucc_rbbmtimer_clk", 207 - .parent_names = (const char *[]){ 208 - "rbbmtimer_clk_src", 207 + .parent_hws = (const struct clk_hw*[]){ 208 + &rbbmtimer_clk_src.clkr.hw, 209 209 }, 210 210 .num_parents = 1, 211 211 .flags = CLK_SET_RATE_PARENT, ··· 222 222 .enable_mask = BIT(0), 223 223 .hw.init = &(struct clk_init_data){ 224 224 .name = "gpucc_rbcpr_clk", 225 - .parent_names = (const char *[]){ 226 - "rbcpr_clk_src", 225 + .parent_hws = (const struct clk_hw*[]){ 226 + &rbcpr_clk_src.clkr.hw, 227 227 }, 228 228 .num_parents = 1, 229 229 .flags = CLK_SET_RATE_PARENT,