]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
clk: qcom: common: commonize qcom_cc_really_probe
authorLuo Jie <quic_luoj@quicinc.com>
Wed, 5 Jun 2024 12:45:40 +0000 (20:45 +0800)
committerBjorn Andersson <andersson@kernel.org>
Thu, 13 Jun 2024 04:04:26 +0000 (23:04 -0500)
The previous wrapper qcom_cc_really_probe takes the platform
device as parameter, which is limited to platform driver.

As for qca8k clock controller driver, which is registered as
the MDIO device, which also follows the qcom clock framework.

To commonize qcom_cc_really_probe, updating it to take the
struct device as parameter, so that the qcom_cc_really_probe
can be utilized by the previous platform device and the new
added MDIO device.

Also update the current clock controller drivers to take
&pdev->dev as parameter when calling qcom_cc_really_probe.

Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Tested-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Luo Jie <quic_luoj@quicinc.com>
Link: https://lore.kernel.org/r/20240605124541.2711467-4-quic_luoj@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
105 files changed:
drivers/clk/qcom/apss-ipq6018.c
drivers/clk/qcom/camcc-sc7180.c
drivers/clk/qcom/camcc-sc7280.c
drivers/clk/qcom/camcc-sc8280xp.c
drivers/clk/qcom/camcc-sdm845.c
drivers/clk/qcom/camcc-sm6350.c
drivers/clk/qcom/camcc-sm7150.c
drivers/clk/qcom/camcc-sm8250.c
drivers/clk/qcom/camcc-sm8450.c
drivers/clk/qcom/camcc-sm8550.c
drivers/clk/qcom/camcc-x1e80100.c
drivers/clk/qcom/common.c
drivers/clk/qcom/common.h
drivers/clk/qcom/dispcc-qcm2290.c
drivers/clk/qcom/dispcc-sc7180.c
drivers/clk/qcom/dispcc-sc7280.c
drivers/clk/qcom/dispcc-sc8280xp.c
drivers/clk/qcom/dispcc-sdm845.c
drivers/clk/qcom/dispcc-sm6115.c
drivers/clk/qcom/dispcc-sm6125.c
drivers/clk/qcom/dispcc-sm6350.c
drivers/clk/qcom/dispcc-sm6375.c
drivers/clk/qcom/dispcc-sm7150.c
drivers/clk/qcom/dispcc-sm8250.c
drivers/clk/qcom/dispcc-sm8450.c
drivers/clk/qcom/dispcc-sm8550.c
drivers/clk/qcom/dispcc-sm8650.c
drivers/clk/qcom/dispcc-x1e80100.c
drivers/clk/qcom/ecpricc-qdu1000.c
drivers/clk/qcom/gcc-ipq5018.c
drivers/clk/qcom/gcc-ipq6018.c
drivers/clk/qcom/gcc-ipq8074.c
drivers/clk/qcom/gcc-mdm9607.c
drivers/clk/qcom/gcc-mdm9615.c
drivers/clk/qcom/gcc-msm8917.c
drivers/clk/qcom/gcc-msm8939.c
drivers/clk/qcom/gcc-msm8953.c
drivers/clk/qcom/gcc-msm8976.c
drivers/clk/qcom/gcc-msm8996.c
drivers/clk/qcom/gcc-msm8998.c
drivers/clk/qcom/gcc-qcm2290.c
drivers/clk/qcom/gcc-qcs404.c
drivers/clk/qcom/gcc-qdu1000.c
drivers/clk/qcom/gcc-sa8775p.c
drivers/clk/qcom/gcc-sc7180.c
drivers/clk/qcom/gcc-sc7280.c
drivers/clk/qcom/gcc-sc8180x.c
drivers/clk/qcom/gcc-sc8280xp.c
drivers/clk/qcom/gcc-sdm660.c
drivers/clk/qcom/gcc-sdm845.c
drivers/clk/qcom/gcc-sdx55.c
drivers/clk/qcom/gcc-sdx65.c
drivers/clk/qcom/gcc-sdx75.c
drivers/clk/qcom/gcc-sm4450.c
drivers/clk/qcom/gcc-sm6115.c
drivers/clk/qcom/gcc-sm6125.c
drivers/clk/qcom/gcc-sm6350.c
drivers/clk/qcom/gcc-sm6375.c
drivers/clk/qcom/gcc-sm7150.c
drivers/clk/qcom/gcc-sm8150.c
drivers/clk/qcom/gcc-sm8250.c
drivers/clk/qcom/gcc-sm8350.c
drivers/clk/qcom/gcc-sm8450.c
drivers/clk/qcom/gcc-sm8550.c
drivers/clk/qcom/gcc-sm8650.c
drivers/clk/qcom/gcc-x1e80100.c
drivers/clk/qcom/gpucc-msm8998.c
drivers/clk/qcom/gpucc-sa8775p.c
drivers/clk/qcom/gpucc-sc7180.c
drivers/clk/qcom/gpucc-sc7280.c
drivers/clk/qcom/gpucc-sc8280xp.c
drivers/clk/qcom/gpucc-sdm660.c
drivers/clk/qcom/gpucc-sdm845.c
drivers/clk/qcom/gpucc-sm6115.c
drivers/clk/qcom/gpucc-sm6125.c
drivers/clk/qcom/gpucc-sm6350.c
drivers/clk/qcom/gpucc-sm6375.c
drivers/clk/qcom/gpucc-sm8150.c
drivers/clk/qcom/gpucc-sm8250.c
drivers/clk/qcom/gpucc-sm8350.c
drivers/clk/qcom/gpucc-sm8450.c
drivers/clk/qcom/gpucc-sm8550.c
drivers/clk/qcom/gpucc-sm8650.c
drivers/clk/qcom/gpucc-x1e80100.c
drivers/clk/qcom/lcc-ipq806x.c
drivers/clk/qcom/lcc-msm8960.c
drivers/clk/qcom/lpassaudiocc-sc7280.c
drivers/clk/qcom/lpasscorecc-sc7180.c
drivers/clk/qcom/lpasscorecc-sc7280.c
drivers/clk/qcom/mmcc-msm8960.c
drivers/clk/qcom/mmcc-msm8974.c
drivers/clk/qcom/mmcc-msm8994.c
drivers/clk/qcom/mmcc-msm8996.c
drivers/clk/qcom/mmcc-msm8998.c
drivers/clk/qcom/mmcc-sdm660.c
drivers/clk/qcom/tcsrcc-sm8550.c
drivers/clk/qcom/videocc-sc7180.c
drivers/clk/qcom/videocc-sc7280.c
drivers/clk/qcom/videocc-sdm845.c
drivers/clk/qcom/videocc-sm7150.c
drivers/clk/qcom/videocc-sm8150.c
drivers/clk/qcom/videocc-sm8250.c
drivers/clk/qcom/videocc-sm8350.c
drivers/clk/qcom/videocc-sm8450.c
drivers/clk/qcom/videocc-sm8550.c

index e6295b832686cd7daa5ea70c79f31c2ad09fde2f..c89d126ebac3c67a763c5860e2653c3411c8a88c 100644 (file)
@@ -123,7 +123,7 @@ static int apss_ipq6018_probe(struct platform_device *pdev)
        if (!regmap)
                return -ENODEV;
 
-       ret = qcom_cc_really_probe(pdev, &apss_ipq6018_desc, regmap);
+       ret = qcom_cc_really_probe(&pdev->dev, &apss_ipq6018_desc, regmap);
        if (ret)
                return ret;
 
index a78808b22b030bc68b8686cb2555d8c5b375d6e4..10e924cd533d1e67425b6d3a6e22e319aab2a5e1 100644 (file)
@@ -1680,7 +1680,7 @@ static int cam_cc_sc7180_probe(struct platform_device *pdev)
        clk_agera_pll_configure(&cam_cc_pll2, regmap, &cam_cc_pll2_config);
        clk_fabia_pll_configure(&cam_cc_pll3, regmap, &cam_cc_pll3_config);
 
-       ret = qcom_cc_really_probe(pdev, &cam_cc_sc7180_desc, regmap);
+       ret = qcom_cc_really_probe(&pdev->dev, &cam_cc_sc7180_desc, regmap);
        pm_runtime_put(&pdev->dev);
        if (ret < 0) {
                dev_err(&pdev->dev, "Failed to register CAM CC clocks\n");
index da29d3b953eea79555709c79c39f56a9fe736c4f..accd257632df37fba1c7bafee15ac9c681519607 100644 (file)
@@ -2481,7 +2481,7 @@ static int cam_cc_sc7280_probe(struct platform_device *pdev)
        clk_lucid_pll_configure(&cam_cc_pll5, regmap, &cam_cc_pll5_config);
        clk_lucid_pll_configure(&cam_cc_pll6, regmap, &cam_cc_pll6_config);
 
-       return qcom_cc_really_probe(pdev, &cam_cc_sc7280_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &cam_cc_sc7280_desc, regmap);
 }
 
 static struct platform_driver cam_cc_sc7280_driver = {
index d8de924a878a9b6757fa6f0f4135924d0804323c..479964f916086cc077ea4a9be8de11570e4ce2cb 100644 (file)
@@ -3034,7 +3034,7 @@ static int camcc_sc8280xp_probe(struct platform_device *pdev)
        /* Keep some clocks always-on */
        qcom_branch_set_clk_en(regmap, 0xc1e4); /* CAMCC_GDSC_CLK */
 
-       ret = qcom_cc_really_probe(pdev, &camcc_sc8280xp_desc, regmap);
+       ret = qcom_cc_really_probe(&pdev->dev, &camcc_sc8280xp_desc, regmap);
        if (ret)
                goto err_disable;
 
index 8466d03e0d058e60cae8c77219257d5ffdf2e6ae..40022a10f8c0b5392da2f7db90db38c2c7c8afe0 100644 (file)
@@ -1735,7 +1735,7 @@ static int cam_cc_sdm845_probe(struct platform_device *pdev)
        cam_cc_pll_config.l = 0x14;
        clk_fabia_pll_configure(&cam_cc_pll3, regmap, &cam_cc_pll_config);
 
-       return qcom_cc_really_probe(pdev, &cam_cc_sdm845_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &cam_cc_sdm845_desc, regmap);
 }
 
 static struct platform_driver cam_cc_sdm845_driver = {
index c6fe684aa780d09b873427c97536818ba34e1f41..f6634cc8663ef63b372183063d78cc89f5321268 100644 (file)
@@ -1879,7 +1879,7 @@ static int camcc_sm6350_probe(struct platform_device *pdev)
        clk_agera_pll_configure(&camcc_pll2, regmap, &camcc_pll2_config);
        clk_fabia_pll_configure(&camcc_pll3, regmap, &camcc_pll3_config);
 
-       return qcom_cc_really_probe(pdev, &camcc_sm6350_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &camcc_sm6350_desc, regmap);
 }
 
 static struct platform_driver camcc_sm6350_driver = {
index a81ce6ab8cd521843446f94e630b8cfcd8be6793..39033a6bb6160f4302bc786b183307066d2bf12d 100644 (file)
@@ -2044,7 +2044,7 @@ static int camcc_sm7150_probe(struct platform_device *pdev)
        /* Keep some clocks always-on */
        qcom_branch_set_clk_en(regmap, 0xc1a0); /* CAMCC_GDSC_CLK */
 
-       return qcom_cc_really_probe(pdev, &camcc_sm7150_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &camcc_sm7150_desc, regmap);
 }
 
 static struct platform_driver camcc_sm7150_driver = {
index 96103eeda5864714f3c15d0b4ed2a917cd1adc00..34d2f17520dccadefe2f32b98a2d38e3eed97ce7 100644 (file)
@@ -2433,7 +2433,7 @@ static int cam_cc_sm8250_probe(struct platform_device *pdev)
        clk_lucid_pll_configure(&cam_cc_pll3, regmap, &cam_cc_pll3_config);
        clk_lucid_pll_configure(&cam_cc_pll4, regmap, &cam_cc_pll4_config);
 
-       return qcom_cc_really_probe(pdev, &cam_cc_sm8250_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &cam_cc_sm8250_desc, regmap);
 }
 
 static struct platform_driver cam_cc_sm8250_driver = {
index 51338a2884d2e2dae83d1f093f4dc70e0b955968..26b78eed15efdb1dd9115c5bd4d76e049f2c3b83 100644 (file)
@@ -2839,7 +2839,7 @@ static int cam_cc_sm8450_probe(struct platform_device *pdev)
        clk_lucid_evo_pll_configure(&cam_cc_pll7, regmap, &cam_cc_pll7_config);
        clk_lucid_evo_pll_configure(&cam_cc_pll8, regmap, &cam_cc_pll8_config);
 
-       return qcom_cc_really_probe(pdev, &cam_cc_sm8450_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &cam_cc_sm8450_desc, regmap);
 }
 
 static struct platform_driver cam_cc_sm8450_driver = {
index 1ef59a96f664f6919fef313d4cb5ec25326f03b4..eac850bb690a276f52f7565f8f3b923800bcee22 100644 (file)
@@ -3540,7 +3540,7 @@ static int cam_cc_sm8550_probe(struct platform_device *pdev)
        qcom_branch_set_clk_en(regmap, 0x1419c); /* CAM_CC_GDSC_CLK */
        qcom_branch_set_clk_en(regmap, 0x142cc); /* CAM_CC_SLEEP_CLK */
 
-       ret = qcom_cc_really_probe(pdev, &cam_cc_sm8550_desc, regmap);
+       ret = qcom_cc_really_probe(&pdev->dev, &cam_cc_sm8550_desc, regmap);
 
        pm_runtime_put(&pdev->dev);
 
index 46bb225906bff338d742db2c1d9cf93143f05b88..85e76c7712ad84c88decb62ccaed68533d8848de 100644 (file)
@@ -2466,7 +2466,7 @@ static int cam_cc_x1e80100_probe(struct platform_device *pdev)
        qcom_branch_set_clk_en(regmap, 0x13a9c); /* CAM_CC_GDSC_CLK */
        qcom_branch_set_clk_en(regmap, 0x13ab8); /* CAM_CC_SLEEP_CLK */
 
-       ret = qcom_cc_really_probe(pdev, &cam_cc_x1e80100_desc, regmap);
+       ret = qcom_cc_really_probe(&pdev->dev, &cam_cc_x1e80100_desc, regmap);
 
        pm_runtime_put(&pdev->dev);
 
index 1e79f05d52265ed83ca94f0b31792281ccb74dd0..c92e10c6032221b474b05a76de2f7d708111a919 100644 (file)
@@ -252,11 +252,10 @@ static struct clk_hw *qcom_cc_clk_hw_get(struct of_phandle_args *clkspec,
        return cc->rclks[idx] ? &cc->rclks[idx]->hw : NULL;
 }
 
-int qcom_cc_really_probe(struct platform_device *pdev,
+int qcom_cc_really_probe(struct device *dev,
                         const struct qcom_cc_desc *desc, struct regmap *regmap)
 {
        int i, ret;
-       struct device *dev = &pdev->dev;
        struct qcom_reset_controller *reset;
        struct qcom_cc *cc;
        struct gdsc_desc *scd;
@@ -333,7 +332,7 @@ int qcom_cc_probe(struct platform_device *pdev, const struct qcom_cc_desc *desc)
        if (IS_ERR(regmap))
                return PTR_ERR(regmap);
 
-       return qcom_cc_really_probe(pdev, desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, desc, regmap);
 }
 EXPORT_SYMBOL_GPL(qcom_cc_probe);
 
@@ -351,7 +350,7 @@ int qcom_cc_probe_by_index(struct platform_device *pdev, int index,
        if (IS_ERR(regmap))
                return PTR_ERR(regmap);
 
-       return qcom_cc_really_probe(pdev, desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, desc, regmap);
 }
 EXPORT_SYMBOL_GPL(qcom_cc_probe_by_index);
 
index 2d4a8a837e6ce603ff08ad45a06ce092617011f9..d048bdeeba1093c1540f8ed3fb85b54f5e5c6e04 100644 (file)
@@ -60,7 +60,7 @@ extern int qcom_cc_register_sleep_clk(struct device *dev);
 
 extern struct regmap *qcom_cc_map(struct platform_device *pdev,
                                  const struct qcom_cc_desc *desc);
-extern int qcom_cc_really_probe(struct platform_device *pdev,
+extern int qcom_cc_really_probe(struct device *dev,
                                const struct qcom_cc_desc *desc,
                                struct regmap *regmap);
 extern int qcom_cc_probe(struct platform_device *pdev,
index 654a10d53e5c5b58c6c12d0ffade1ad4ffba98a4..449ffea2295d3760f40abe8b1195e9022f46a9b0 100644 (file)
@@ -522,7 +522,7 @@ static int disp_cc_qcm2290_probe(struct platform_device *pdev)
        /* Keep some clocks always-on */
        qcom_branch_set_clk_en(regmap, 0x604c); /* DISP_CC_XO_CLK */
 
-       ret = qcom_cc_really_probe(pdev, &disp_cc_qcm2290_desc, regmap);
+       ret = qcom_cc_really_probe(&pdev->dev, &disp_cc_qcm2290_desc, regmap);
        if (ret) {
                dev_err(&pdev->dev, "Failed to register DISP CC clocks\n");
                return ret;
index 38d7859981c7d00b84b262e8a8832b63e587f66e..4710247be5306945838d9858c1af3fed70b04b51 100644 (file)
@@ -713,7 +713,7 @@ static int disp_cc_sc7180_probe(struct platform_device *pdev)
 
        clk_fabia_pll_configure(&disp_cc_pll0, regmap, &disp_cc_pll_config);
 
-       return qcom_cc_really_probe(pdev, &disp_cc_sc7180_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &disp_cc_sc7180_desc, regmap);
 }
 
 static struct platform_driver disp_cc_sc7180_driver = {
index fbeb8fccb99af6e5bdaae61e4037d9a58b232d98..db0745954894d4de2e2f3de95fdfa5b864c67ac3 100644 (file)
@@ -881,7 +881,7 @@ static int disp_cc_sc7280_probe(struct platform_device *pdev)
        /* Keep some clocks always-on */
        qcom_branch_set_clk_en(regmap, 0x5008); /* DISP_CC_XO_CLK */
 
-       return qcom_cc_really_probe(pdev, &disp_cc_sc7280_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &disp_cc_sc7280_desc, regmap);
 }
 
 static struct platform_driver disp_cc_sc7280_driver = {
index 91172f5b2f15b1d8a7b582ac582abd57b7b83c4e..f1ca9ae0b33f4c408cb84911933fe571c56e86c8 100644 (file)
@@ -3172,7 +3172,7 @@ static int disp_cc_sc8280xp_probe(struct platform_device *pdev)
        clk_lucid_pll_configure(clkr_to_alpha_clk_pll(desc->clks[DISP_CC_PLL1]), regmap, &disp_cc_pll1_config);
        clk_lucid_pll_configure(clkr_to_alpha_clk_pll(desc->clks[DISP_CC_PLL2]), regmap, &disp_cc_pll2_config);
 
-       ret = qcom_cc_really_probe(pdev, desc, regmap);
+       ret = qcom_cc_really_probe(&pdev->dev, desc, regmap);
        if (ret) {
                dev_err(&pdev->dev, "Failed to register display clock controller\n");
                goto out_pm_runtime_put;
index b84fdd17c3d8c699341123a34c71dbcb9972da34..e6139e8f74dc0d3af6c60b8ffe413cd45ab2ebcd 100644 (file)
@@ -863,7 +863,7 @@ static int disp_cc_sdm845_probe(struct platform_device *pdev)
        /* Enable hardware clock gating for DSI and MDP clocks */
        regmap_update_bits(regmap, 0x8000, 0x7f0, 0x7f0);
 
-       return qcom_cc_really_probe(pdev, &disp_cc_sdm845_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &disp_cc_sdm845_desc, regmap);
 }
 
 static struct platform_driver disp_cc_sdm845_driver = {
index bd07f26af35a2bf24900bbfae2967fa708b57c5c..939887f82ecc3da21a5f26168c3161aa8cfeb3cb 100644 (file)
@@ -586,7 +586,7 @@ static int disp_cc_sm6115_probe(struct platform_device *pdev)
        /* Keep some clocks always-on */
        qcom_branch_set_clk_en(regmap, 0x604c); /* DISP_CC_XO_CLK */
 
-       ret = qcom_cc_really_probe(pdev, &disp_cc_sm6115_desc, regmap);
+       ret = qcom_cc_really_probe(&pdev->dev, &disp_cc_sm6115_desc, regmap);
        if (ret) {
                dev_err(&pdev->dev, "Failed to register DISP CC clocks\n");
                return ret;
index 85e07731cce2a80870a3a93446365ffca11d7713..51c7492816fbd397de881e2f42fc6f55d5b25fe3 100644 (file)
@@ -682,7 +682,7 @@ static int disp_cc_sm6125_probe(struct platform_device *pdev)
 
        clk_alpha_pll_configure(&disp_cc_pll0, regmap, &disp_cc_pll0_config);
 
-       return qcom_cc_really_probe(pdev, &disp_cc_sm6125_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &disp_cc_sm6125_desc, regmap);
 }
 
 static struct platform_driver disp_cc_sm6125_driver = {
index f712cbef94564b09da70fd1c12e354a48dd16ad2..50facb36701af99923584f1ca1549df6a70f06d9 100644 (file)
@@ -761,7 +761,7 @@ static int disp_cc_sm6350_probe(struct platform_device *pdev)
 
        clk_fabia_pll_configure(&disp_cc_pll0, regmap, &disp_cc_pll0_config);
 
-       return qcom_cc_really_probe(pdev, &disp_cc_sm6350_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &disp_cc_sm6350_desc, regmap);
 }
 
 static struct platform_driver disp_cc_sm6350_driver = {
index 2d42f85f184b85aebf96212488f37c156d6fc972..167dd369a7943655a5524077884e89dd148ce829 100644 (file)
@@ -583,7 +583,7 @@ static int disp_cc_sm6375_probe(struct platform_device *pdev)
 
        clk_lucid_pll_configure(&disp_cc_pll0, regmap, &disp_cc_pll0_config);
 
-       return qcom_cc_really_probe(pdev, &disp_cc_sm6375_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &disp_cc_sm6375_desc, regmap);
 }
 
 static struct platform_driver disp_cc_sm6375_driver = {
index 5c8ae95b676364d873b15089871970bee537eabd..d32bd7df1433b0f92504c87f12e964cac0bbeef4 100644 (file)
@@ -989,7 +989,7 @@ static int dispcc_sm7150_probe(struct platform_device *pdev)
        /* Keep some clocks always-on */
        qcom_branch_set_clk_en(regmap, 0x605c); /* DISPCC_XO_CLK */
 
-       return qcom_cc_really_probe(pdev, &dispcc_sm7150_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &dispcc_sm7150_desc, regmap);
 }
 
 static struct platform_driver dispcc_sm7150_driver = {
index 43307c8a342caeac08a1523a36feb67b3845c88c..5a09009b72891b5afd5e4d971041e6346e81cd5d 100644 (file)
@@ -1366,7 +1366,7 @@ static int disp_cc_sm8250_probe(struct platform_device *pdev)
        /* Keep some clocks always-on */
        qcom_branch_set_clk_en(regmap, 0x605c); /* DISP_CC_XO_CLK */
 
-       ret = qcom_cc_really_probe(pdev, &disp_cc_sm8250_desc, regmap);
+       ret = qcom_cc_really_probe(&pdev->dev, &disp_cc_sm8250_desc, regmap);
 
        pm_runtime_put(&pdev->dev);
 
index 5d028871624e9ed8c9f84b5048bc2534592380cb..d1d3f60789ee0b2d1f69821deed68a541223137d 100644 (file)
@@ -1778,7 +1778,7 @@ static int disp_cc_sm8450_probe(struct platform_device *pdev)
        /* Keep some clocks always-on */
        qcom_branch_set_clk_en(regmap, 0xe05c); /* DISP_CC_XO_CLK */
 
-       ret = qcom_cc_really_probe(pdev, &disp_cc_sm8450_desc, regmap);
+       ret = qcom_cc_really_probe(&pdev->dev, &disp_cc_sm8450_desc, regmap);
        if (ret)
                goto err_put_rpm;
 
index 88f9347ab77c26d8138ae7fe6784be2c4e11687e..31ae46f180a5c289dfce373988ff39a9822007a0 100644 (file)
@@ -1771,7 +1771,7 @@ static int disp_cc_sm8550_probe(struct platform_device *pdev)
        /* Keep some clocks always-on */
        qcom_branch_set_clk_en(regmap, 0xe054); /* DISP_CC_XO_CLK */
 
-       ret = qcom_cc_really_probe(pdev, &disp_cc_sm8550_desc, regmap);
+       ret = qcom_cc_really_probe(&pdev->dev, &disp_cc_sm8550_desc, regmap);
        if (ret)
                goto err_put_rpm;
 
index c0e1ea63166b4aebdf7d882e859d9cfa4e57b3c8..c9d2751f5cb8cbb2b64df6e4595a055e312b8615 100644 (file)
@@ -1768,7 +1768,7 @@ static int disp_cc_sm8650_probe(struct platform_device *pdev)
        /* Keep some clocks always-on */
        qcom_branch_set_clk_en(regmap, 0xe054); /* DISP_CC_XO_CLK */
 
-       ret = qcom_cc_really_probe(pdev, &disp_cc_sm8650_desc, regmap);
+       ret = qcom_cc_really_probe(&pdev->dev, &disp_cc_sm8650_desc, regmap);
        if (ret)
                goto err_put_rpm;
 
index 0b2ee6456762d3aeb22547d464a5a5878ab5062b..40069eba41f241f06b061774c051374896685633 100644 (file)
@@ -1680,7 +1680,7 @@ static int disp_cc_x1e80100_probe(struct platform_device *pdev)
        qcom_branch_set_clk_en(regmap, 0xe074); /* DISP_CC_SLEEP_CLK */
        qcom_branch_set_clk_en(regmap, 0xe054); /* DISP_CC_XO_CLK */
 
-       ret = qcom_cc_really_probe(pdev, &disp_cc_x1e80100_desc, regmap);
+       ret = qcom_cc_really_probe(&pdev->dev, &disp_cc_x1e80100_desc, regmap);
        if (ret)
                goto err_put_rpm;
 
index c628054a70251f2d923e2f188c6d58b4890a255f..dbc11260479b6d25d52a7d00cfce78d4e35be224 100644 (file)
@@ -2439,7 +2439,7 @@ static int ecpri_cc_qdu1000_probe(struct platform_device *pdev)
        clk_lucid_evo_pll_configure(&ecpri_cc_pll0, regmap, &ecpri_cc_pll0_config);
        clk_lucid_evo_pll_configure(&ecpri_cc_pll1, regmap, &ecpri_cc_pll1_config);
 
-       return qcom_cc_really_probe(pdev, &ecpri_cc_qdu1000_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &ecpri_cc_qdu1000_desc, regmap);
 }
 
 static struct platform_driver ecpri_cc_qdu1000_driver = {
index c1732d70e3a2357091355e6f577f5e74ccab3b83..70f5dcb96700f55da1fb19fc893d22350a7e63bf 100644 (file)
@@ -3698,7 +3698,7 @@ static int gcc_ipq5018_probe(struct platform_device *pdev)
 
        clk_alpha_pll_configure(&ubi32_pll_main, regmap, &ubi32_pll_config);
 
-       return qcom_cc_really_probe(pdev, &ipq5018_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &ipq5018_desc, regmap);
 }
 
 static struct platform_driver gcc_ipq5018_driver = {
index 7e69de34c310c27715ba61c7444527182e364ad5..9e5885101366332ff92830548cf27bd17b175654 100644 (file)
@@ -4642,7 +4642,7 @@ static int gcc_ipq6018_probe(struct platform_device *pdev)
        clk_alpha_pll_configure(&nss_crypto_pll_main, regmap,
                                &nss_crypto_pll_config);
 
-       return qcom_cc_really_probe(pdev, &gcc_ipq6018_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gcc_ipq6018_desc, regmap);
 }
 
 static struct platform_driver gcc_ipq6018_driver = {
index d2be56c5892d0bcbe33fffb3768e4bd8dc0a54b5..32fd01ef469a0253bf55669beb35ff11297c194f 100644 (file)
@@ -4760,7 +4760,7 @@ static int gcc_ipq8074_probe(struct platform_device *pdev)
        clk_alpha_pll_configure(&nss_crypto_pll_main, regmap,
                                &nss_crypto_pll_config);
 
-       return qcom_cc_really_probe(pdev, &gcc_ipq8074_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gcc_ipq8074_desc, regmap);
 }
 
 static struct platform_driver gcc_ipq8074_driver = {
index fb290e73ce948759cc57b99c628522788d1a54cf..6e6068b168e66e22520b700091349f749a7463e0 100644 (file)
@@ -1604,7 +1604,7 @@ static int gcc_mdm9607_probe(struct platform_device *pdev)
        /* Vote for GPLL0 to turn on. Needed by acpuclock. */
        regmap_update_bits(regmap, 0x45000, BIT(0), BIT(0));
 
-       return qcom_cc_really_probe(pdev, &gcc_mdm9607_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gcc_mdm9607_desc, regmap);
 }
 
 static struct platform_driver gcc_mdm9607_driver = {
index aec7c4a1d3dea8fffdefec4fe82782b3cc8da180..33987b9577371bee89daa718d17b9f60b805ded5 100644 (file)
@@ -1736,7 +1736,7 @@ static int gcc_mdm9615_probe(struct platform_device *pdev)
        if (IS_ERR(regmap))
                return PTR_ERR(regmap);
 
-       return qcom_cc_really_probe(pdev, &gcc_mdm9615_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gcc_mdm9615_desc, regmap);
 }
 
 static struct platform_driver gcc_mdm9615_driver = {
index f2b8729e4198dc62bf4155e831fb2bfb1b8ca4e6..3e2a2ae2ee6e9e647fb68c493ae7b0e49af79968 100644 (file)
@@ -3270,7 +3270,7 @@ static int gcc_msm8917_probe(struct platform_device *pdev)
 
        clk_alpha_pll_configure(&gpll3_early, regmap, &gpll3_early_config);
 
-       return qcom_cc_really_probe(pdev, gcc_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, gcc_desc, regmap);
 }
 
 static const struct of_device_id gcc_msm8917_match_table[] = {
index 7b9a3e99b589206864a6eab2512be1a7dbf94311..7431c9a65044f841f711df6e84008f759e7ab026 100644 (file)
@@ -4108,7 +4108,7 @@ static int gcc_msm8939_probe(struct platform_device *pdev)
        clk_pll_configure_sr_hpm_lp(&gpll3, regmap, &gpll3_config, true);
        clk_pll_configure_sr_hpm_lp(&gpll4, regmap, &gpll4_config, true);
 
-       return qcom_cc_really_probe(pdev, &gcc_msm8939_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gcc_msm8939_desc, regmap);
 }
 
 static struct platform_driver gcc_msm8939_driver = {
index 7563bff58118655847562f4d48029da150393eb8..855a61966f3ef565c48cbc8a7a7fac5e5e66445f 100644 (file)
@@ -4220,7 +4220,7 @@ static int gcc_msm8953_probe(struct platform_device *pdev)
 
        clk_alpha_pll_configure(&gpll3_early, regmap, &gpll3_early_config);
 
-       return qcom_cc_really_probe(pdev, &gcc_msm8953_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gcc_msm8953_desc, regmap);
 }
 
 static const struct of_device_id gcc_msm8953_match_table[] = {
index 7fac0ca594aaf22c1120f88cc99d2259f4d45a18..399f22033c29cfb09d50d3acd4fb66a904754e58 100644 (file)
@@ -4129,7 +4129,7 @@ static int gcc_msm8976_probe(struct platform_device *pdev)
        if (ret)
                return ret;
 
-       return qcom_cc_really_probe(pdev, &gcc_msm8976_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gcc_msm8976_desc, regmap);
 }
 
 static struct platform_driver gcc_msm8976_driver = {
index e7b03a17514a5d964d341ceefaa7b249678aa773..4fc667b94cf2351a199316af59dad2de1de3c59d 100644 (file)
@@ -3620,7 +3620,7 @@ static int gcc_msm8996_probe(struct platform_device *pdev)
         */
        regmap_update_bits(regmap, 0x52008, BIT(21), BIT(21));
 
-       return qcom_cc_really_probe(pdev, &gcc_msm8996_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gcc_msm8996_desc, regmap);
 }
 
 static struct platform_driver gcc_msm8996_driver = {
index 5f8c87c1793f32179a1bf0a40ad0db7a15503945..90b66caba2cdf61de2ba79c3ea02a6ab84baa581 100644 (file)
@@ -3292,7 +3292,7 @@ static int gcc_msm8998_probe(struct platform_device *pdev)
        regmap_write(regmap, GCC_MMSS_MISC, 0x10003);
        regmap_write(regmap, GCC_GPU_MISC, 0x10003);
 
-       return qcom_cc_really_probe(pdev, &gcc_msm8998_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gcc_msm8998_desc, regmap);
 }
 
 static const struct of_device_id gcc_msm8998_match_table[] = {
index 48995e50c6bd70dcf89c1086b2aa4a4f5bc7ad88..9a6703365e61975318c790a06bde1a3cd4de0cde 100644 (file)
@@ -2994,7 +2994,7 @@ static int gcc_qcm2290_probe(struct platform_device *pdev)
        clk_alpha_pll_configure(&gpll8, regmap, &gpll8_config);
        clk_alpha_pll_configure(&gpll9, regmap, &gpll9_config);
 
-       return qcom_cc_really_probe(pdev, &gcc_qcm2290_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gcc_qcm2290_desc, regmap);
 }
 
 static struct platform_driver gcc_qcm2290_driver = {
index a39c4990b29dbfe02501bc9eeed1cfd3447d761c..c3cfd572e7c1e0a987519be2cb2050c9bc7992c7 100644 (file)
@@ -2824,7 +2824,7 @@ static int gcc_qcs404_probe(struct platform_device *pdev)
 
        clk_alpha_pll_configure(&gpll3_out_main, regmap, &gpll3_config);
 
-       return qcom_cc_really_probe(pdev, &gcc_qcs404_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gcc_qcs404_desc, regmap);
 }
 
 static struct platform_driver gcc_qcs404_driver = {
index 9f42d2601464e7ebf4b03e883925694f67598edf..dbe9e9437939afbcd50759dfc21a599864278816 100644 (file)
@@ -2674,7 +2674,7 @@ static int gcc_qdu1000_probe(struct platform_device *pdev)
        if (ret)
                return ret;
 
-       ret = qcom_cc_really_probe(pdev, &gcc_qdu1000_desc, regmap);
+       ret = qcom_cc_really_probe(&pdev->dev, &gcc_qdu1000_desc, regmap);
        if (ret)
                return dev_err_probe(&pdev->dev, ret, "Failed to register GCC clocks\n");
 
index 5bcbfbf52cb9e5691ac4106ab6b7173c3037a6f0..9f31ce4cea18b88360368ff62d59797452f35059 100644 (file)
@@ -4753,7 +4753,7 @@ static int gcc_sa8775p_probe(struct platform_device *pdev)
        qcom_branch_set_clk_en(regmap, 0x34004); /* GCC_VIDEO_AHB_CLK */
        qcom_branch_set_clk_en(regmap, 0x34024); /* GCC_VIDEO_XO_CLK */
 
-       return qcom_cc_really_probe(pdev, &gcc_sa8775p_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gcc_sa8775p_desc, regmap);
 }
 
 static struct platform_driver gcc_sa8775p_driver = {
index 6a5f785c0ced0084f95a5d1ba2becf8e17e2a89e..4a49ad7a9e5be670abb04e6f04dd652109f0893a 100644 (file)
@@ -2458,7 +2458,7 @@ static int gcc_sc7180_probe(struct platform_device *pdev)
        if (ret)
                return ret;
 
-       return qcom_cc_really_probe(pdev, &gcc_sc7180_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gcc_sc7180_desc, regmap);
 }
 
 static struct platform_driver gcc_sc7180_driver = {
index b937d513b8148d9bc28247ac9d7656de459442cf..4502926a2691a773003631f822c121a043607a64 100644 (file)
@@ -3481,7 +3481,7 @@ static int gcc_sc7280_probe(struct platform_device *pdev)
        if (ret)
                return ret;
 
-       return qcom_cc_really_probe(pdev, &gcc_sc7280_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gcc_sc7280_desc, regmap);
 }
 
 static struct platform_driver gcc_sc7280_driver = {
index ad905affd3766b98d81e5e96abd4f3c178064147..ad135bfa4c7686a15895371d0269e1690ea0dbe5 100644 (file)
@@ -4623,7 +4623,7 @@ static int gcc_sc8180x_probe(struct platform_device *pdev)
        regmap_update_bits(regmap, 0x4d110, 0x3, 0x3);
        regmap_update_bits(regmap, 0x71028, 0x3, 0x3);
 
-       return qcom_cc_really_probe(pdev, &gcc_sc8180x_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gcc_sc8180x_desc, regmap);
 }
 
 static struct platform_driver gcc_sc8180x_driver = {
index 082d7b5504ebba373e79030b57ca477064f283ac..5f11760cf73fa7a1c208822f81dc17d76c4c26cd 100644 (file)
@@ -7558,7 +7558,7 @@ static int gcc_sc8280xp_probe(struct platform_device *pdev)
        if (ret)
                goto err_put_rpm;
 
-       ret = qcom_cc_really_probe(pdev, &gcc_sc8280xp_desc, regmap);
+       ret = qcom_cc_really_probe(&pdev->dev, &gcc_sc8280xp_desc, regmap);
        if (ret)
                goto err_put_rpm;
 
index c4fe70871b6d46372494a6f8f298a78d2db94693..df79298a1a25345b52788d0ad0c625537c4aa7b5 100644 (file)
@@ -2474,7 +2474,7 @@ static int gcc_sdm660_probe(struct platform_device *pdev)
        if (ret)
                return ret;
 
-       return qcom_cc_really_probe(pdev, &gcc_sdm660_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gcc_sdm660_desc, regmap);
 }
 
 static struct platform_driver gcc_sdm660_driver = {
index ea4c3bf4fb9bf7f35d73db4a690099b4df3f7286..dc3aa7014c3ed11989cfcbce8e4604a4daa7eac6 100644 (file)
@@ -4011,7 +4011,7 @@ static int gcc_sdm845_probe(struct platform_device *pdev)
                return ret;
 
        gcc_desc = of_device_get_match_data(&pdev->dev);
-       return qcom_cc_really_probe(pdev, gcc_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, gcc_desc, regmap);
 }
 
 static struct platform_driver gcc_sdm845_driver = {
index 26279b8d321a3091caa8f93cea00fb86e08a8ee9..84c507656e8fe330d4a65054dcdf081787c4738e 100644 (file)
@@ -1616,7 +1616,7 @@ static int gcc_sdx55_probe(struct platform_device *pdev)
        regmap_update_bits(regmap, 0x6d008, BIT(21), BIT(21)); /* GCC_CPUSS_AHB_CLK */
        regmap_update_bits(regmap, 0x6d008, BIT(22), BIT(22)); /* GCC_CPUSS_GNOC_CLK */
 
-       return qcom_cc_really_probe(pdev, &gcc_sdx55_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gcc_sdx55_desc, regmap);
 }
 
 static struct platform_driver gcc_sdx55_driver = {
index 8fde6463574b92a5cef5169061205d85f2da75c4..fe297c606f97a9a7c95a86006addc76be7d6ec22 100644 (file)
@@ -1580,7 +1580,7 @@ static int gcc_sdx65_probe(struct platform_device *pdev)
        regmap_update_bits(regmap, 0x6d008, BIT(21), BIT(21)); /* GCC_CPUSS_AHB_CLK */
        regmap_update_bits(regmap, 0x6d008, BIT(22), BIT(22)); /* GCC_CPUSS_GNOC_CLK */
 
-       return qcom_cc_really_probe(pdev, &gcc_sdx65_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gcc_sdx65_desc, regmap);
 }
 
 static struct platform_driver gcc_sdx65_driver = {
index c51338f08ef16f29afddb91b84787d377cf1c2b8..453a6bf8e8786308ef785799f71b6cff8a5a9727 100644 (file)
@@ -2940,7 +2940,7 @@ static int gcc_sdx75_probe(struct platform_device *pdev)
        qcom_branch_set_clk_en(regmap, 0x3e004); /* GCC_AHB_PCIE_LINK_CLK */
        qcom_branch_set_clk_en(regmap, 0x3e008); /* GCC_XO_PCIE_LINK_CLK */
 
-       return qcom_cc_really_probe(pdev, &gcc_sdx75_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gcc_sdx75_desc, regmap);
 }
 
 static struct platform_driver gcc_sdx75_driver = {
index 062e55e981569bafb00dfefc2b50cc93a010c30c..e2d9e4691c5b719adfa86b904394ba85d086c12c 100644 (file)
@@ -2861,7 +2861,7 @@ static int gcc_sm4450_probe(struct platform_device *pdev)
 
        regmap_update_bits(regmap, 0x4201c, BIT(21), BIT(21));
 
-       return qcom_cc_really_probe(pdev, &gcc_sm4450_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gcc_sm4450_desc, regmap);
 }
 
 static struct platform_driver gcc_sm4450_driver = {
index 167e344ad399626b5d1c256690b86bff22755dd3..4c3804701e243772ec7d9eec1eaff686b6b4747e 100644 (file)
@@ -3513,7 +3513,7 @@ static int gcc_sm6115_probe(struct platform_device *pdev)
        clk_alpha_pll_configure(&gpll10, regmap, &gpll10_config);
        clk_alpha_pll_configure(&gpll11, regmap, &gpll11_config);
 
-       return qcom_cc_really_probe(pdev, &gcc_sm6115_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gcc_sm6115_desc, regmap);
 }
 
 static struct platform_driver gcc_sm6115_driver = {
index da554efee2ce8d21c7941c3e14df6d69a9b25fd6..07bb1e5c4a303ac6cebe2e81949d4259bf148b75 100644 (file)
@@ -4161,7 +4161,7 @@ static int gcc_sm6125_probe(struct platform_device *pdev)
        if (ret)
                return ret;
 
-       return qcom_cc_really_probe(pdev, &gcc_sm6125_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gcc_sm6125_desc, regmap);
 }
 
 static struct platform_driver gcc_sm6125_driver = {
index cf4a7b6e0b23adfcca2c74aea74aa8e14ccfe20f..0dcc8eeb77e6919eeb775acafc9eab32a01f4c55 100644 (file)
@@ -2559,7 +2559,7 @@ static int gcc_sm6350_probe(struct platform_device *pdev)
        if (ret)
                return ret;
 
-       return qcom_cc_really_probe(pdev, &gcc_sm6350_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gcc_sm6350_desc, regmap);
 }
 
 static struct platform_driver gcc_sm6350_driver = {
index ac1ed2d728f9115d9849b5c846a40e0009da03a2..f47dc2808095eedc77ab890cca7fbe28ecd5d067 100644 (file)
@@ -3892,7 +3892,7 @@ static int gcc_sm6375_probe(struct platform_device *pdev)
        clk_lucid_pll_configure(&gpll8, regmap, &gpll8_config);
        clk_zonda_pll_configure(&gpll9, regmap, &gpll9_config);
 
-       return qcom_cc_really_probe(pdev, &gcc_sm6375_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gcc_sm6375_desc, regmap);
 }
 
 static struct platform_driver gcc_sm6375_driver = {
index b0c50ebb86bedef3e3ae43743564cdc699fd0cd7..7eabaf0e1b57db90922c833b677c8a9ef242be77 100644 (file)
@@ -3017,7 +3017,7 @@ static int gcc_sm7150_probe(struct platform_device *pdev)
        if (ret)
                return ret;
 
-       return qcom_cc_really_probe(pdev, &gcc_sm7150_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gcc_sm7150_desc, regmap);
 }
 
 static struct platform_driver gcc_sm7150_driver = {
index 1f748141d12c6f3ead38a82322551d1df30ab721..cefceb780889e92e7762e701c44c5f06511bf6db 100644 (file)
@@ -3797,7 +3797,7 @@ static int gcc_sm8150_probe(struct platform_device *pdev)
        if (ret)
                dev_err_probe(&pdev->dev, ret, "Failed to register with DFS!\n");
 
-       return qcom_cc_really_probe(pdev, &gcc_sm8150_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gcc_sm8150_desc, regmap);
 }
 
 static struct platform_driver gcc_sm8150_driver = {
index e630bfa2d0c17957f4188c0478a8dbe3d5bea27a..991cd8b8d59726b3350e2a571c430ef47f5a512a 100644 (file)
@@ -3656,7 +3656,7 @@ static int gcc_sm8250_probe(struct platform_device *pdev)
        if (ret)
                return ret;
 
-       return qcom_cc_really_probe(pdev, &gcc_sm8250_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gcc_sm8250_desc, regmap);
 }
 
 static struct platform_driver gcc_sm8250_driver = {
index fc0402e8a2a75d6b0b7f9449341fb888568389e2..2d94f3046b71172ddf56b68f2f84392caab2844b 100644 (file)
@@ -3822,7 +3822,7 @@ static int gcc_sm8350_probe(struct platform_device *pdev)
        /* FORCE_MEM_CORE_ON for ufs phy ice core clocks */
        regmap_update_bits(regmap, gcc_ufs_phy_ice_core_clk.halt_reg, BIT(14), BIT(14));
 
-       return qcom_cc_really_probe(pdev, &gcc_sm8350_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gcc_sm8350_desc, regmap);
 }
 
 static struct platform_driver gcc_sm8350_driver = {
index e86c58bc5e48bc89aaa06cb07d6412b5d31d0f88..639a9a955914f4bdbe2aa83589bc80b6c51775e8 100644 (file)
@@ -3289,7 +3289,7 @@ static int gcc_sm8450_probe(struct platform_device *pdev)
        qcom_branch_set_clk_en(regmap, 0x42004); /* GCC_VIDEO_AHB_CLK */
        qcom_branch_set_clk_en(regmap, 0x42028); /* GCC_VIDEO_XO_CLK */
 
-       return qcom_cc_really_probe(pdev, &gcc_sm8450_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gcc_sm8450_desc, regmap);
 }
 
 static struct platform_driver gcc_sm8450_driver = {
index 26d7349e7642483366f6cb8e5345cac0cb90a176..7944ddb4b47dc40168f8da05fcbdea797be33ede 100644 (file)
@@ -3364,7 +3364,7 @@ static int gcc_sm8550_probe(struct platform_device *pdev)
        /* Clear GDSC_SLEEP_ENA_VOTE to stop votes being auto-removed in sleep. */
        regmap_write(regmap, 0x52024, 0x0);
 
-       return qcom_cc_really_probe(pdev, &gcc_sm8550_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gcc_sm8550_desc, regmap);
 }
 
 static struct platform_driver gcc_sm8550_driver = {
index 9d1cbdf860fb3b6d0a5ee308ebbb985029e1c779..9bc19bea0c97c2b3f8d5b70bf1f99568546aebd4 100644 (file)
@@ -3822,7 +3822,7 @@ static int gcc_sm8650_probe(struct platform_device *pdev)
        /* Clear GDSC_SLEEP_ENA_VOTE to stop votes being auto-removed in sleep. */
        regmap_write(regmap, 0x52150, 0x0);
 
-       return qcom_cc_really_probe(pdev, &gcc_sm8650_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gcc_sm8650_desc, regmap);
 }
 
 static struct platform_driver gcc_sm8650_driver = {
index 1404017be9180aa78c534f912396018059eb8f53..eb7e36ebd7ae5f530d52bcdcc78cfa27c3982665 100644 (file)
@@ -6781,7 +6781,7 @@ static int gcc_x1e80100_probe(struct platform_device *pdev)
        /* Clear GDSC_SLEEP_ENA_VOTE to stop votes being auto-removed in sleep. */
        regmap_write(regmap, 0x52224, 0x0);
 
-       return qcom_cc_really_probe(pdev, &gcc_x1e80100_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gcc_x1e80100_desc, regmap);
 }
 
 static struct platform_driver gcc_x1e80100_driver = {
index 7b1cb44e31b21bbc987e3c0906af15c42712567f..9efeab2691ba968691dc3ed1ee6d663beaafd9e8 100644 (file)
@@ -334,7 +334,7 @@ static int gpucc_msm8998_probe(struct platform_device *pdev)
        /* tweak droop detector (GPUCC_GPU_DD_WRAP_CTRL) to reduce leakage */
        regmap_write_bits(regmap, gfx3d_clk.clkr.enable_reg, BIT(0), BIT(0));
 
-       return qcom_cc_really_probe(pdev, &gpucc_msm8998_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gpucc_msm8998_desc, regmap);
 }
 
 static struct platform_driver gpucc_msm8998_driver = {
index 1167c42da39dba157a4a5cc469cc3bd02358b7dd..ac7552b146c77978b81885f22f7af49ad0abe128 100644 (file)
@@ -598,7 +598,7 @@ static int gpu_cc_sa8775p_probe(struct platform_device *pdev)
        clk_lucid_evo_pll_configure(&gpu_cc_pll0, regmap, &gpu_cc_pll0_config);
        clk_lucid_evo_pll_configure(&gpu_cc_pll1, regmap, &gpu_cc_pll1_config);
 
-       return qcom_cc_really_probe(pdev, &gpu_cc_sa8775p_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gpu_cc_sa8775p_desc, regmap);
 }
 
 static struct platform_driver gpu_cc_sa8775p_driver = {
index 66f5b48cbf87926320d57e4c6d8b1b30fd9a4b99..08f3983d016f3f24b1e613de7d7391a8fe428c61 100644 (file)
@@ -241,7 +241,7 @@ static int gpu_cc_sc7180_probe(struct platform_device *pdev)
        value = 0xF << CX_GMU_CBCR_WAKE_SHIFT | 0xF << CX_GMU_CBCR_SLEEP_SHIFT;
        regmap_update_bits(regmap, 0x1098, mask, value);
 
-       return qcom_cc_really_probe(pdev, &gpu_cc_sc7180_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gpu_cc_sc7180_desc, regmap);
 }
 
 static struct platform_driver gpu_cc_sc7180_driver = {
index ebda57eac979db1222d84c4760ac10c94c2204b3..bd699a624517846a289fa62ed8639579a0bd59e3 100644 (file)
@@ -469,7 +469,7 @@ static int gpu_cc_sc7280_probe(struct platform_device *pdev)
        qcom_branch_set_clk_en(regmap, 0x1098); /* GPUCC_CX_GMU_CLK */
        regmap_update_bits(regmap, 0x1098, BIT(13), BIT(13));
 
-       return qcom_cc_really_probe(pdev, &gpu_cc_sc7280_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gpu_cc_sc7280_desc, regmap);
 }
 
 static struct platform_driver gpu_cc_sc7280_driver = {
index 3611d2d1823db00f6a60debe8883ea128f51320f..c96be61e3f479e1a8098e29a95e2a09f510dc258 100644 (file)
@@ -449,7 +449,7 @@ static int gpu_cc_sc8280xp_probe(struct platform_device *pdev)
        qcom_branch_set_clk_en(regmap, 0x1170); /* GPU_CC_CB_CLK */
        qcom_branch_set_clk_en(regmap, 0x109c); /* GPU_CC_CXO_CLK */
 
-       ret = qcom_cc_really_probe(pdev, &gpu_cc_sc8280xp_desc, regmap);
+       ret = qcom_cc_really_probe(&pdev->dev, &gpu_cc_sc8280xp_desc, regmap);
        pm_runtime_put(&pdev->dev);
 
        return ret;
index a52d98b7cf4c2c36e5adb683db023fae2ed3350a..3ae1b80e38d9a560383d6ef6a7b4d6a473dd992f 100644 (file)
@@ -330,7 +330,7 @@ static int gpucc_sdm660_probe(struct platform_device *pdev)
        gpu_pll_config.alpha_hi = 0x8a;
        clk_alpha_pll_configure(&gpu_pll1_pll_out_main, regmap, &gpu_pll_config);
 
-       return qcom_cc_really_probe(pdev, &gpucc_sdm660_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gpucc_sdm660_desc, regmap);
 }
 
 static struct platform_driver gpucc_sdm660_driver = {
index c87c3215dfe3579a3b91861d0d8b0260ebeb019f..ef26690cf504237f41acfd2ddea498b7e0eda5d3 100644 (file)
@@ -192,7 +192,7 @@ static int gpu_cc_sdm845_probe(struct platform_device *pdev)
        value = 0xf << CX_GMU_CBCR_WAKE_SHIFT | 0xf << CX_GMU_CBCR_SLEEP_SHIFT;
        regmap_update_bits(regmap, 0x1098, mask, value);
 
-       return qcom_cc_really_probe(pdev, &gpu_cc_sdm845_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gpu_cc_sdm845_desc, regmap);
 }
 
 static struct platform_driver gpu_cc_sdm845_driver = {
index 9793dd9a25967a5ae0e00d9d0803ed9ae494ad56..d43c86cf73a528adeb508c536ec1943e1f07c288 100644 (file)
@@ -488,7 +488,7 @@ static int gpu_cc_sm6115_probe(struct platform_device *pdev)
        qcom_branch_set_force_mem_core(regmap, gpu_cc_gx_gfx3d_clk, true);
        qcom_branch_set_force_periph_on(regmap, gpu_cc_gx_gfx3d_clk, true);
 
-       return qcom_cc_really_probe(pdev, &gpu_cc_sm6115_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gpu_cc_sm6115_desc, regmap);
 }
 
 static struct platform_driver gpu_cc_sm6115_driver = {
index b719a48fe706c6d46ee4c3020d982726961b0f00..ed6a6e505801e560c0641b94276d08bf91d89441 100644 (file)
@@ -409,7 +409,7 @@ static int gpu_cc_sm6125_probe(struct platform_device *pdev)
        qcom_branch_set_force_mem_core(regmap, gpu_cc_gx_gfx3d_clk, true);
        qcom_branch_set_force_periph_on(regmap, gpu_cc_gx_gfx3d_clk, true);
 
-       return qcom_cc_really_probe(pdev, &gpu_cc_sm6125_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gpu_cc_sm6125_desc, regmap);
 }
 
 static struct platform_driver gpu_cc_sm6125_driver = {
index 0bcbba2a2943654e9bece1e2fc45de0c15164a22..1e12ad8948dbd8ecc7cad421ebe77dd047ff928f 100644 (file)
@@ -502,7 +502,7 @@ static int gpu_cc_sm6350_probe(struct platform_device *pdev)
        value = 0xF << CX_GMU_CBCR_WAKE_SHIFT | 0xF << CX_GMU_CBCR_SLEEP_SHIFT;
        regmap_update_bits(regmap, 0x1098, mask, value);
 
-       return qcom_cc_really_probe(pdev, &gpu_cc_sm6350_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gpu_cc_sm6350_desc, regmap);
 }
 
 static struct platform_driver gpu_cc_sm6350_driver = {
index 4e9a30a080d392b3e934a47f755fe3e8e38f99a5..41f59024143eab25129efb47a755f52aeb9ed5c7 100644 (file)
@@ -455,7 +455,7 @@ static int gpucc_sm6375_probe(struct platform_device *pdev)
        clk_lucid_pll_configure(&gpucc_pll0, regmap, &gpucc_pll0_config);
        clk_lucid_pll_configure(&gpucc_pll1, regmap, &gpucc_pll1_config);
 
-       ret = qcom_cc_really_probe(pdev, &gpucc_sm6375_desc, regmap);
+       ret = qcom_cc_really_probe(&pdev->dev, &gpucc_sm6375_desc, regmap);
        pm_runtime_put(&pdev->dev);
 
        return ret;
index 135601629cba7139e011191a0b94ed5d0d043e87..d711464a71b6d8ddb5e0a86d6dbe3c7035577b7f 100644 (file)
@@ -304,7 +304,7 @@ static int gpu_cc_sm8150_probe(struct platform_device *pdev)
 
        clk_trion_pll_configure(&gpu_cc_pll1, regmap, &gpu_cc_pll1_config);
 
-       return qcom_cc_really_probe(pdev, &gpu_cc_sm8150_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gpu_cc_sm8150_desc, regmap);
 }
 
 static struct platform_driver gpu_cc_sm8150_driver = {
index 012bd1380f555552f290cfe056f25318b2c28f89..113b486a6d2fbfdf9bd2a6e3ba7c9b8999284eb3 100644 (file)
@@ -320,7 +320,7 @@ static int gpu_cc_sm8250_probe(struct platform_device *pdev)
        value = 0xf << CX_GMU_CBCR_WAKE_SHIFT | 0xf << CX_GMU_CBCR_SLEEP_SHIFT;
        regmap_update_bits(regmap, 0x1098, mask, value);
 
-       return qcom_cc_really_probe(pdev, &gpu_cc_sm8250_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gpu_cc_sm8250_desc, regmap);
 }
 
 static struct platform_driver gpu_cc_sm8250_driver = {
index 9437d316d145c054ecf3d41c73881a3b2fd98669..f6bb8244dd4043eaac6a7855340f51cc209aeccc 100644 (file)
@@ -604,7 +604,7 @@ static int gpu_cc_sm8350_probe(struct platform_device *pdev)
        clk_lucid_pll_configure(&gpu_cc_pll0, regmap, &gpu_cc_pll0_config);
        clk_lucid_pll_configure(&gpu_cc_pll1, regmap, &gpu_cc_pll1_config);
 
-       return qcom_cc_really_probe(pdev, &gpu_cc_sm8350_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gpu_cc_sm8350_desc, regmap);
 }
 
 static const struct of_device_id gpu_cc_sm8350_match_table[] = {
index 7b329a8032892d1570f47f159e41229dfbbfc107..b3c5d6923cd202e2a0221d30a2df9087e3497ce6 100644 (file)
@@ -751,7 +751,7 @@ static int gpu_cc_sm8450_probe(struct platform_device *pdev)
        clk_lucid_evo_pll_configure(&gpu_cc_pll0, regmap, &gpu_cc_pll0_config);
        clk_lucid_evo_pll_configure(&gpu_cc_pll1, regmap, &gpu_cc_pll1_config);
 
-       return qcom_cc_really_probe(pdev, &gpu_cc_sm8450_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gpu_cc_sm8450_desc, regmap);
 }
 
 static struct platform_driver gpu_cc_sm8450_driver = {
index 4fc69c6026e5e18cf7eb537faede4fb3b72d7acf..7486edf561606684d520937a690c810644b3352f 100644 (file)
@@ -579,7 +579,7 @@ static int gpu_cc_sm8550_probe(struct platform_device *pdev)
        qcom_branch_set_clk_en(regmap, 0x9004); /* GPU_CC_CXO_AON_CLK */
        qcom_branch_set_clk_en(regmap, 0x900c); /* GPU_CC_DEMET_CLK */
 
-       return qcom_cc_really_probe(pdev, &gpu_cc_sm8550_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gpu_cc_sm8550_desc, regmap);
 }
 
 static struct platform_driver gpu_cc_sm8550_driver = {
index c53306d3093f7562e271dc8bb2d8c98965abbf07..f15aeecc512d535cd9a1220348b9111db11775fb 100644 (file)
@@ -647,7 +647,7 @@ static int gpu_cc_sm8650_probe(struct platform_device *pdev)
        clk_lucid_ole_pll_configure(&gpu_cc_pll0, regmap, &gpu_cc_pll0_config);
        clk_lucid_ole_pll_configure(&gpu_cc_pll1, regmap, &gpu_cc_pll1_config);
 
-       return qcom_cc_really_probe(pdev, &gpu_cc_sm8650_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gpu_cc_sm8650_desc, regmap);
 }
 
 static struct platform_driver gpu_cc_sm8650_driver = {
index b7e79d118d6ef0c374c30034aba08a79dba8b33e..2eec20dd0254c9433f0748c1c51b300af13965a2 100644 (file)
@@ -640,7 +640,7 @@ static int gpu_cc_x1e80100_probe(struct platform_device *pdev)
        /* Keep clocks always enabled */
        qcom_branch_set_clk_en(regmap, 0x93a4); /* GPU_CC_CB_CLK */
 
-       return qcom_cc_really_probe(pdev, &gpu_cc_x1e80100_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &gpu_cc_x1e80100_desc, regmap);
 }
 
 static struct platform_driver gpu_cc_x1e80100_driver = {
index fa8cda63cf204e2e55929f403e23426da161a4f4..bf5320a43e8c25f2f70b4502b3232eae651150cc 100644 (file)
@@ -454,7 +454,7 @@ static int lcc_ipq806x_probe(struct platform_device *pdev)
        /* Enable PLL4 source on the LPASS Primary PLL Mux */
        regmap_write(regmap, 0xc4, 0x1);
 
-       return qcom_cc_really_probe(pdev, &lcc_ipq806x_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &lcc_ipq806x_desc, regmap);
 }
 
 static struct platform_driver lcc_ipq806x_driver = {
index e725e7b9c456d216e0d62d2f342eb8efe9d69171..d53bf315e9c33d6c0ce736266de5ce5a474f49d0 100644 (file)
@@ -481,7 +481,7 @@ static int lcc_msm8960_probe(struct platform_device *pdev)
        /* Enable PLL4 source on the LPASS Primary PLL Mux */
        regmap_write(regmap, 0xc4, 0x1);
 
-       return qcom_cc_really_probe(pdev, &lcc_msm8960_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &lcc_msm8960_desc, regmap);
 }
 
 static struct platform_driver lcc_msm8960_driver = {
index c43d0b1af7f7ee552ebbb744c49d4358fcc66ed9..45e7264770866f929a3f4663c477330f0bf7aa84 100644 (file)
@@ -772,7 +772,7 @@ static int lpass_audio_cc_sc7280_probe(struct platform_device *pdev)
        regmap_write(regmap, 0x4, 0x3b);
        regmap_write(regmap, 0x8, 0xff05);
 
-       ret = qcom_cc_really_probe(pdev, &lpass_audio_cc_sc7280_desc, regmap);
+       ret = qcom_cc_really_probe(&pdev->dev, &lpass_audio_cc_sc7280_desc, regmap);
        if (ret) {
                dev_err(&pdev->dev, "Failed to register LPASS AUDIO CC clocks\n");
                goto exit;
@@ -847,7 +847,7 @@ static int lpass_aon_cc_sc7280_probe(struct platform_device *pdev)
 
        clk_lucid_pll_configure(&lpass_aon_cc_pll, regmap, &lpass_aon_cc_pll_config);
 
-       ret = qcom_cc_really_probe(pdev, &lpass_aon_cc_sc7280_desc, regmap);
+       ret = qcom_cc_really_probe(&pdev->dev, &lpass_aon_cc_sc7280_desc, regmap);
        if (ret) {
                dev_err(&pdev->dev, "Failed to register LPASS AON CC clocks\n");
                goto exit;
index 8ac72d26087e267030769fb53ff3cd8e4d41ef82..726c6378752f88d19bffbefbcf1ff86224c5c402 100644 (file)
@@ -411,7 +411,7 @@ static int lpass_core_cc_sc7180_probe(struct platform_device *pdev)
        clk_fabia_pll_configure(&lpass_lpaaudio_dig_pll, regmap,
                                &lpass_lpaaudio_dig_pll_config);
 
-       ret = qcom_cc_really_probe(pdev, &lpass_core_cc_sc7180_desc, regmap);
+       ret = qcom_cc_really_probe(&pdev->dev, &lpass_core_cc_sc7180_desc, regmap);
 
        pm_runtime_mark_last_busy(&pdev->dev);
 exit:
index a2f1e6ad6da40432d704925f0904dc5af002a26b..b0888cd2460b3ecd56c7e9911f4b8ad65aa45523 100644 (file)
@@ -406,7 +406,7 @@ static int lpass_core_cc_sc7280_probe(struct platform_device *pdev)
 
        clk_lucid_pll_configure(&lpass_core_cc_dig_pll, regmap, &lpass_core_cc_dig_pll_config);
 
-       return qcom_cc_really_probe(pdev, &lpass_core_cc_sc7280_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &lpass_core_cc_sc7280_desc, regmap);
 }
 
 static struct platform_driver lpass_core_cc_sc7280_driver = {
index 50638ab341eca19c95695ec053e8f02fd2be77e2..1061322534c4148b06404f61450e41c62a1db23f 100644 (file)
@@ -3122,7 +3122,7 @@ static int mmcc_msm8960_probe(struct platform_device *pdev)
 
        clk_pll_configure_sr(&pll15, regmap, &pll15_config, false);
 
-       return qcom_cc_really_probe(pdev, desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, desc, regmap);
 }
 
 static struct platform_driver mmcc_msm8960_driver = {
index 36f460b78be2ccbee26fead56028626944a973db..d5bcb09ebd0cce3f39004810cf7e6dd9ca36c519 100644 (file)
@@ -2768,7 +2768,7 @@ static int mmcc_msm8974_probe(struct platform_device *pdev)
                msm8226_clock_override();
        }
 
-       return qcom_cc_really_probe(pdev, desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, desc, regmap);
 }
 
 static struct platform_driver mmcc_msm8974_driver = {
index f19080cf715bcd802f09ecb2a675836a31a03a47..78e5083eaf0f6001e4aa6d81293f7628a7f22496 100644 (file)
@@ -2602,7 +2602,7 @@ static int mmcc_msm8994_probe(struct platform_device *pdev)
        clk_alpha_pll_configure(&mmpll3_early, regmap, &mmpll_p_config);
        clk_alpha_pll_configure(&mmpll5_early, regmap, &mmpll_p_config);
 
-       return qcom_cc_really_probe(pdev, &mmcc_msm8994_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &mmcc_msm8994_desc, regmap);
 }
 
 static struct platform_driver mmcc_msm8994_driver = {
index 92287d40c3a5f0d15137282c40ddaae917addfcc..1a32c6eb8217895bb4bd7852aa80629191807473 100644 (file)
@@ -3626,7 +3626,7 @@ static int mmcc_msm8996_probe(struct platform_device *pdev)
        /* Disable the NoC FSM for mmss_mmagic_cfg_ahb_clk */
        regmap_update_bits(regmap, 0x5054, BIT(15), 0);
 
-       return qcom_cc_really_probe(pdev, &mmcc_msm8996_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &mmcc_msm8996_desc, regmap);
 }
 
 static struct platform_driver mmcc_msm8996_driver = {
index 275fb3b71ede4c607117d34ae60a69670a612c77..5738445a8656f1e7c3cd717dfcaef5966c87ba85 100644 (file)
@@ -2866,7 +2866,7 @@ static int mmcc_msm8998_probe(struct platform_device *pdev)
        if (IS_ERR(regmap))
                return PTR_ERR(regmap);
 
-       return qcom_cc_really_probe(pdev, &mmcc_msm8998_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &mmcc_msm8998_desc, regmap);
 }
 
 static struct platform_driver mmcc_msm8998_driver = {
index 4b8380c2d648559e7a9b6e5b875a10bb0ec50e39..98ba5b4518fb3ba35c159e3dddf6abf922f18920 100644 (file)
@@ -2847,7 +2847,7 @@ static int mmcc_660_probe(struct platform_device *pdev)
        clk_alpha_pll_configure(&mmpll8, regmap, &mmpll8_config);
        clk_alpha_pll_configure(&mmpll10, regmap, &mmpll10_config);
 
-       return qcom_cc_really_probe(pdev, &mmcc_660_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &mmcc_660_desc, regmap);
 }
 
 static struct platform_driver mmcc_660_driver = {
index 552a3eb1fd910009a162db182c660ad18f1ff413..e5e8f2e82b949dae592ec3dda585138bf89cab37 100644 (file)
@@ -166,7 +166,7 @@ static int tcsr_cc_sm8550_probe(struct platform_device *pdev)
        if (IS_ERR(regmap))
                return PTR_ERR(regmap);
 
-       return qcom_cc_really_probe(pdev, &tcsr_cc_sm8550_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &tcsr_cc_sm8550_desc, regmap);
 }
 
 static struct platform_driver tcsr_cc_sm8550_driver = {
index ae0f812f83e8ed3d73cb2df15dc95e1e6a9577d2..d7f84548039699ce6fdd7c0f6675c168d5eaf4c1 100644 (file)
@@ -226,7 +226,7 @@ static int video_cc_sc7180_probe(struct platform_device *pdev)
        /* Keep VIDEO_CC_XO_CLK ALWAYS-ON */
        regmap_update_bits(regmap, 0x984, 0x1, 0x1);
 
-       return qcom_cc_really_probe(pdev, &video_cc_sc7180_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &video_cc_sc7180_desc, regmap);
 }
 
 static struct platform_driver video_cc_sc7180_driver = {
index 119a3ed6eb6adb983b5020ebcdd371a11b1ae8b5..317b325d6dafec5f1be8a5f36044e28d3404929a 100644 (file)
@@ -305,7 +305,7 @@ static int video_cc_sc7280_probe(struct platform_device *pdev)
 
        clk_lucid_pll_configure(&video_pll0, regmap, &video_pll0_config);
 
-       return qcom_cc_really_probe(pdev, &video_cc_sc7280_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &video_cc_sc7280_desc, regmap);
 }
 
 static struct platform_driver video_cc_sc7280_driver = {
index 80095a283a86cefbf049c1cd77fe8bbca5a1f916..f77a0777947773dc8902c92098acff71b9b8f10f 100644 (file)
@@ -329,7 +329,7 @@ static int video_cc_sdm845_probe(struct platform_device *pdev)
 
        clk_fabia_pll_configure(&video_pll0, regmap, &video_pll0_config);
 
-       return qcom_cc_really_probe(pdev, &video_cc_sdm845_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &video_cc_sdm845_desc, regmap);
 }
 
 static struct platform_driver video_cc_sdm845_driver = {
index 64f6b03996fc93fec4ed8e7ef20cc2c385cafd66..14ef7f5617537363673662adc3910ddba8ea6a4f 100644 (file)
@@ -341,7 +341,7 @@ static int videocc_sm7150_probe(struct platform_device *pdev)
        /* Keep some clocks always-on */
        qcom_branch_set_clk_en(regmap, 0x984); /* VIDEOCC_XO_CLK */
 
-       return qcom_cc_really_probe(pdev, &videocc_sm7150_desc, regmap);
+       return qcom_cc_really_probe(&pdev->dev, &videocc_sm7150_desc, regmap);
 }
 
 static struct platform_driver videocc_sm7150_driver = {
index 554631aa279b55418de569697d453b42b8069815..daab3237eec19b727d34512d3a2ba1d7bd2743d6 100644 (file)
@@ -262,7 +262,7 @@ static int video_cc_sm8150_probe(struct platform_device *pdev)
        /* Keep VIDEO_CC_XO_CLK ALWAYS-ON */
        regmap_update_bits(regmap, 0x984, 0x1, 0x1);
 
-       ret = qcom_cc_really_probe(pdev, &video_cc_sm8150_desc, regmap);
+       ret = qcom_cc_really_probe(&pdev->dev, &video_cc_sm8150_desc, regmap);
 
        pm_runtime_put_sync(&pdev->dev);
 
index 914eddd0ae1529278f77925b214bc73979b689e4..d7e0c32284c1a1240b7f5b01b8b281c016c1e6d0 100644 (file)
@@ -387,7 +387,7 @@ static int video_cc_sm8250_probe(struct platform_device *pdev)
        qcom_branch_set_clk_en(regmap, 0xe58); /* VIDEO_CC_AHB_CLK */
        qcom_branch_set_clk_en(regmap, 0xeec); /* VIDEO_CC_XO_CLK */
 
-       ret = qcom_cc_really_probe(pdev, &video_cc_sm8250_desc, regmap);
+       ret = qcom_cc_really_probe(&pdev->dev, &video_cc_sm8250_desc, regmap);
 
        pm_runtime_put(&pdev->dev);
 
index f7aec28d4c872e5380580e23857aadd82ee95350..5bd6fe3e1298867fbc74325354e5262884a47012 100644 (file)
@@ -562,7 +562,7 @@ static int video_cc_sm8350_probe(struct platform_device *pdev)
        qcom_branch_set_clk_en(regmap, 0xe58); /* VIDEO_CC_AHB_CLK */
        qcom_branch_set_clk_en(regmap, video_cc_xo_clk_cbcr); /* VIDEO_CC_XO_CLK */
 
-       ret = qcom_cc_really_probe(pdev, &video_cc_sm8350_desc, regmap);
+       ret = qcom_cc_really_probe(&pdev->dev, &video_cc_sm8350_desc, regmap);
        pm_runtime_put(&pdev->dev);
 
        return ret;
index 67df40f16423152e8c7e9544b43a4f01e7d03aaf..ed9163d642441b55b9839d258dda7f2973ec1a2a 100644 (file)
@@ -428,7 +428,7 @@ static int video_cc_sm8450_probe(struct platform_device *pdev)
        qcom_branch_set_clk_en(regmap, 0x8130); /* VIDEO_CC_SLEEP_CLK */
        qcom_branch_set_clk_en(regmap, 0x8114); /* VIDEO_CC_XO_CLK */
 
-       ret = qcom_cc_really_probe(pdev, &video_cc_sm8450_desc, regmap);
+       ret = qcom_cc_really_probe(&pdev->dev, &video_cc_sm8450_desc, regmap);
 
        pm_runtime_put(&pdev->dev);
 
index d73f747d2474009b7afb67e876d92d3a71529ce1..4d36362db1d04dfe553fd97436c28ac029d13bf8 100644 (file)
@@ -433,7 +433,7 @@ static int video_cc_sm8550_probe(struct platform_device *pdev)
        qcom_branch_set_clk_en(regmap, 0x8140); /* VIDEO_CC_SLEEP_CLK */
        qcom_branch_set_clk_en(regmap, 0x8124); /* VIDEO_CC_XO_CLK */
 
-       ret = qcom_cc_really_probe(pdev, &video_cc_sm8550_desc, regmap);
+       ret = qcom_cc_really_probe(&pdev->dev, &video_cc_sm8550_desc, regmap);
 
        pm_runtime_put(&pdev->dev);