]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ACPI: scan: Reduce code duplication related to fixed event devices
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 15 Dec 2025 13:54:17 +0000 (14:54 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 26 Dec 2025 14:08:57 +0000 (15:08 +0100)
commitddfebb7537cb422eca26ebdc3fe3426b60582c25
tree0f99e6355f3fe09f00791f9a715f6b568d62803d
parentab06eb9204010c61e754bf4e71ee6f554584714d
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
drivers/acpi/scan.c