clk: qcom: clk-spmi-pmic-div: convert to use parent_data
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sat, 10 Dec 2022 19:10:13 +0000 (22:10 +0300)
committerBjorn Andersson <andersson@kernel.org>
Wed, 11 Jan 2023 04:12:18 +0000 (22:12 -0600)
commita622c1dc84d920f231df539b3013c58a15fa2a19
tree908fd9eb26c77c2ef271679e77cf6c0a97a2fe67
parent7069b91ac2cd682a681ed2f0125bccd76b777d86
clk: qcom: clk-spmi-pmic-div: convert to use parent_data

The clk-spmi-pmic-div driver gets the parent name from the first (and
the only) clock parent. So, use parent data, index 0 to setup the clock.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221210191013.453040-1-dmitry.baryshkov@linaro.org
drivers/clk/qcom/clk-spmi-pmic-div.c