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

clk: qcom: gpucc-sc7180: switch to parent_hws

Change several entries of parent_data to use parent_hws instead, which
results in slightly more ovbious code.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230103145515.1164020-17-dmitry.baryshkov@linaro.org

authored by

Dmitry Baryshkov and committed by
Bjorn Andersson
77e1e697 353b18dc

+2 -2
+2 -2
drivers/clk/qcom/gpucc-sc7180.c
··· 108 108 .enable_mask = BIT(0), 109 109 .hw.init = &(struct clk_init_data){ 110 110 .name = "gpu_cc_cx_gmu_clk", 111 - .parent_data = &(const struct clk_parent_data){ 112 - .hw = &gpu_cc_gmu_clk_src.clkr.hw, 111 + .parent_hws = (const struct clk_hw*[]) { 112 + &gpu_cc_gmu_clk_src.clkr.hw, 113 113 }, 114 114 .num_parents = 1, 115 115 .flags = CLK_SET_RATE_PARENT,