Thread (57 messages) 57 messages, 14 authors, 3d ago

Re: [PATCH 20/23] usb: chipidea: use platform_device_set_of_node_from_dev()

From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: 2026-06-02 21:49:47
Also in: dri-devel, driver-core, imx, intel-xe, linux-arm-msm, linux-devicetree, linux-i2c, linux-iommu, linux-mips, linux-pm, linux-sound, linux-usb, lkml, netdev, platform-driver-x86

On Thu, May 21, 2026 at 10:36:43AM +0200, Bartosz Golaszewski wrote:
Ahead of reworking the reference counting logic for platform devices,
encapsulate the assignment of the OF node from another device for
dynamically allocated platform devices with the provided helper.
...
 	pdev->dev.parent = dev;
-	device_set_of_node_from_dev(&pdev->dev, dev);
+	platform_device_set_of_node_from_dev(pdev, dev);
Why do they even do that? Do they have a USB connected pin control?

-- 
With Best Regards,
Andy Shevchenko


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help