firmware: arm_scmi: Ensure scmi_devices are always matched by name as well
authorSudeep Holla <sudeep.holla@arm.com>
Mon, 17 Mar 2025 10:31:21 +0000 (10:31 +0000)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 14 Apr 2025 09:12:01 +0000 (10:12 +0100)
commitdb28d02c4017560761d345fa2f28d728139d4e9d
treec065b1f7c9d58fef8c849928e4c031303d6618f4
parent0af2f6be1b4281385b618cb86ad946eded089ac8
firmware: arm_scmi: Ensure scmi_devices are always matched by name as well

Currently, devices without a name in the id_table cannot register drivers,
and no scmi_device is created without a name via scmi_device_create().
However, the function __scmi_device_create() allows devices with no name,
which are then labeled as "unknown."

Removes support for matching scmi_device instances without a name,
ensuring consistency across the driver registration and probing process.

Message-Id: <20250317-b4-scmi_minor_cleanup-v2-1-f4be99bd9864@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/bus.c