On Mon May 11, 2026 at 4:17 PM CEST, Bartosz Golaszewski wrote: > On Mon, 11 May 2026 16:00:23 +0200, Danilo Krummrich <[email protected]> said: >> On Mon May 11, 2026 at 9:33 AM CEST, Bartosz Golaszewski wrote: >>> Danilo: if there are no further comments, can you pick it up for v7.1? >> >> It seems that sashiko has a valid concern in [1]; can you confirm? >> >> [1] >> https://sashiko.dev/#/patchset/20260430-swnode-remove-on-dev-unreg-v4-0-01574da0aed3%40oss.qualcomm.com >> > > Yes, I explained it here[1]. Basically it's similar to how we need to call > platform_device_add_data() for devices created with platform_device_alloc(). > > We can consider adding platform_device_add_software_node() once there's > a potential user but for now I'd just leave it like this.
But there are users that already need this, no? There is Xe [1] and Surface GPE [2], or am I missing something? [1] https://elixir.bootlin.com/linux/v7.1-rc2/source/drivers/gpu/drm/xe/xe_i2c.c#L99 [2] https://elixir.bootlin.com/linux/v7.1-rc2/source/drivers/platform/surface/surface_gpe.c#L308

