diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2023-01-03 15:55:02 +0100 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2023-01-10 22:58:59 +0100 |
commit | bbedddafa069773fdb085155117c873343959b50 (patch) | |
tree | 4affd93d3c11c9cab809dccfe3a0c4587daa604d | |
parent | clk: qcom: gcc-msm8976: switch to parent_hws (diff) | |
download | linux-bbedddafa069773fdb085155117c873343959b50.tar.xz linux-bbedddafa069773fdb085155117c873343959b50.zip |
clk: qcom: gcc-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-9-dmitry.baryshkov@linaro.org
-rw-r--r-- | drivers/clk/qcom/gcc-sc7180.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/clk/qcom/gcc-sc7180.c b/drivers/clk/qcom/gcc-sc7180.c index 2d3980251e78..6fa18d4377b9 100644 --- a/drivers/clk/qcom/gcc-sc7180.c +++ b/drivers/clk/qcom/gcc-sc7180.c @@ -1987,8 +1987,7 @@ static struct clk_branch gcc_usb30_prim_mock_utmi_clk = { .enable_mask = BIT(0), .hw.init = &(struct clk_init_data){ .name = "gcc_usb30_prim_mock_utmi_clk", - .parent_data = &(const struct clk_parent_data){ - .hw = + .parent_hws = (const struct clk_hw*[]) { &gcc_usb30_prim_mock_utmi_clk_src.clkr.hw, }, .num_parents = 1, |