Re: [PATCH v6 3/4] clk: qcom: common: commonize qcom_cc_really_probe

From: Stephen Boyd
Date: Tue Sep 05 2023 - 16:52:31 EST


Quoting Luo Jie (2023-09-01 02:18:22)
> 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.
>
> Signed-off-by: Luo Jie <quic_luoj@xxxxxxxxxxx>
> ---

Reviewed-by: Stephen Boyd <sboyd@xxxxxxxxxx>