Re: [PATCH v5 2/5] phy: qcom: Introduce PCIe UNIPHY 28LP driver
From: Krzysztof Kozlowski
Date: Fri Jan 03 2025 - 02:43:56 EST
On Fri, Jan 03, 2025 at 07:48:10AM +0200, Dmitry Baryshkov wrote:
> > + platform_set_drvdata(pdev, phy);
> > + phy->dev = &pdev->dev;
> > +
> > + phy->data = of_device_get_match_data(dev);
> > + if (!phy->data)
> > + return -EINVAL;
> > +
> > + ret = of_property_read_u32(of_node_get(dev->of_node), "num-lanes",
>
> Who will put the reference count which you have just got?
More important: why introducing own pattern of code...
Best regards,
Krzysztof