Re: [PATCH 22/23] reset: rzg2l: use platform_device_set_of_node_from_dev()

From
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date
2026-06-02 21:53:11
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, linuxppc-dev, lkml, platform-driver-x86
Reply to
Philipp Zabel, 2026-06-02
On Tue, Jun 02, 2026 at 10:24:41AM +0200, Philipp Zabel wrote:
On Do, 2026-05-21 at 10:36 +0200, Bartosz Golaszewski wrote:
quoted
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.
...
quoted
-	device_set_of_node_from_dev(&vdev->dev, dev);
+	platform_device_set_of_node_from_dev(vdev, dev);
Same Q here, why it uses inherited call? Cargo cult?

'reused' flag is solely pin control (provider!) thingy as far as I remember.

-- 
With Best Regards,
Andy Shevchenko

Thread (58 messages) 58 messages, 14 authors, last reply 2026-06-29
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help