diff options
| author | 2026-09-15 18:03:35 +0100 | |
|---|---|---|
| committer | 2026-09-15 18:28:08 +0100 | |
| commit | 146af926951d5ce25d8c7e352f071de56aecc021 (patch) | |
| tree | 47ee6dcc16b2325f06ad02b14a07e58a3700f7ee /scripts/Makefile.thinlto | |
| parent | firmware: arm_scmi: Merge scmi_reset_proto_ops.name_get() and .latency_get() (diff) | |
firmware: arm_scmi: Set generated device fwnode with platform helpers
The SCMI transport probe helper creates a platform device for the SCMI
core. device_set_of_node_from_dev() propagates the supplier's OF node,
but leaves generated devices for non-DT transports without a firmware
node.
Use platform_device_set_of_node_from_dev() for devicetree suppliers so
the shared OF node is referenced and marked as reused. For all other
suppliers, use platform_device_set_fwnode() so ACPI and other firmware
nodes are propagated with a reference that platform_device_release()
can balance.
Link: https://patch.msgid.link/20260915-acpi_scmi_pcc-v5-1-298579e9f359@kernel.org
Signed-off-by: Sudeep Holla <sudeep.holla@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
