diff mbox series

clk: qcom: camcc-sm8150: Fix the camcc probe

Message ID 20240805063049.446091-1-quic_skakitap@quicinc.com
State New
Headers show
Series clk: qcom: camcc-sm8150: Fix the camcc probe | expand

Commit Message

Satya Priya Kakitapalli Aug. 5, 2024, 6:30 a.m. UTC
qcom_cc_really_probe() API's arguments are updated to use struct dev.
Fix this function call in probe by updating the arguments to use dev
instead of pdev.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202408012234.vggzO9in-lkp@intel.com/
Closes: https://lore.kernel.org/oe-kbuild-all/202408020044.PEGwUAFE-lkp@intel.com/
Signed-off-by: Satya Priya Kakitapalli <quic_skakitap@quicinc.com>
---
Please note that this patch is dependent on series [1]

[1] https://lore.kernel.org/linux-arm-msm/20240731062916.2680823-1-quic_skakitap@quicinc.com/T/#t

 drivers/clk/qcom/camcc-sm8150.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/clk/qcom/camcc-sm8150.c b/drivers/clk/qcom/camcc-sm8150.c
index 195582b598e4..bb3009818ad7 100644
--- a/drivers/clk/qcom/camcc-sm8150.c
+++ b/drivers/clk/qcom/camcc-sm8150.c
@@ -2138,7 +2138,7 @@  static int cam_cc_sm8150_probe(struct platform_device *pdev)
 	/* Keep the critical clock always-on */
 	qcom_branch_set_clk_en(regmap, 0xc1e4); /* cam_cc_gdsc_clk */
 
-	ret = qcom_cc_really_probe(pdev, &cam_cc_sm8150_desc, regmap);
+	ret = qcom_cc_really_probe(&pdev->dev, &cam_cc_sm8150_desc, regmap);
 
 	pm_runtime_put(&pdev->dev);