Re: [PATCH v3 3/3] clk: qcom: add clock controller driver for qca8386/qca8084

From: Stephen Boyd
Date: Tue Aug 22 2023 - 15:10:32 EST


Quoting Jie Luo (2023-08-14 03:58:26)
>
>
> On 8/12/2023 6:56 PM, Konrad Dybcio wrote:
> > My main point is, why can't you use qcom_cc_really_probe?
> >
>
> Hi Konrad,
> qcom_cc_really_probe is taking the platform_device as the input
> parameter, but the nss_cc_qca8k_probe takes the mdio_device as the probe
> parameter.

There's no real reason why it takes a platform device instead of a plain
struct device. You can have an earlier patch change that function to
take a struct device instead.