ACPI: scan: Reduce code duplication related to fixed event devices

Move duplicate fixed event device registration code
from acpi_bus_scan_fixed() into a new function called
acpi_bus_add_fixed_device_object() and make acpi_bus_scan_fixed()
invoke that function as needed.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/1916860.atdPhlSkOF@rafael.j.wysocki
This commit is contained in:
Rafael J. Wysocki 2025-12-15 14:54:17 +01:00
commit ddfebb7537