[PATCH] clk: qcom: camcc-sm8150: Fix the camcc probe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
Closes: https://lore.kernel.org/oe-kbuild-all/202408012234.vggzO9in-lkp@xxxxxxxxx/
Closes: https://lore.kernel.org/oe-kbuild-all/202408020044.PEGwUAFE-lkp@xxxxxxxxx/
Signed-off-by: Satya Priya Kakitapalli <quic_skakitap@xxxxxxxxxxx>
---
Please note that this patch is dependent on series [1]

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

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

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);
 
-- 
2.25.1





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux