On 8/23/2023 3:10 AM, Stephen Boyd wrote:
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.
Okay, thanks Stephen for the comments, i will update it to use "struct
device" in the next version.