diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2023-01-03 17:55:02 +0300 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2023-01-11 00:58:59 +0300 |
commit | bbedddafa069773fdb085155117c873343959b50 (patch) | |
tree | 4affd93d3c11c9cab809dccfe3a0c4587daa604d /drivers/clk/qcom/gcc-sc7180.c | |
parent | fec6a7b5454baa41b5879b2763e952efc57c6ba6 (diff) | |
download | linux-bbedddafa069773fdb085155117c873343959b50.tar.xz |
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
Diffstat (limited to 'drivers/clk/qcom/gcc-sc7180.c')
-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, |