diff options
| author | Sudeep Holla <sudeep.holla@kernel.org> | 2026-09-15 18:03:40 +0100 |
|---|---|---|
| committer | Sudeep Holla <sudeep.holla@kernel.org> | 2026-09-15 18:28:09 +0100 |
| commit | 48339595cbd3e5468473c596025b4fe6096146d8 (patch) | |
| tree | 223ac0c3b8b3708d6364224af588d6de4fc11fd1 /tools/perf/scripts/python/stackcollapse.py | |
| parent | f35ee1a26795665755a6ef2475963a96c5369bb5 (diff) | |
firmware: arm_scmi: Refactor protocol device creation logic
Move the protocol validation and device creation logic in scmi_probe()
into a reusable scmi_device_check_create() helper.
The helper centralizes checks for the protocol ID range, implementation
availability and duplicate activation before invoking
scmi_create_protocol_devices(). This preserves the existing behavior
while allowing the logic to be reused by the ACPI path, where protocol
child fwnodes are absent.
No functional change intended.
Reviewed-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Link: https://patch.msgid.link/20260915-acpi_scmi_pcc-v5-6-298579e9f359@kernel.org
Signed-off-by: Sudeep Holla <sudeep.holla@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
