]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ACPI: scan: Rename acpi_scan_device_not_present() to be about enumeration
authorJames Morse <james.morse@arm.com>
Fri, 20 Oct 2023 18:47:04 +0000 (19:47 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 24 Oct 2023 11:59:39 +0000 (13:59 +0200)
commit8c6fdbd635d4afbcd57243083319a55624d2e168
treee7e68958eda42676d3d9ea86cc83436f2c4273b5
parentb5bdb60faaaff11bcfc9a90372158bc56e7ff544
ACPI: scan: Rename acpi_scan_device_not_present() to be about enumeration

acpi_scan_device_not_present() is called when a device in the
hierarchy is not available for enumeration. Historically enumeration
was only based on whether the device was present.

To add support for only enumerating devices that are both present
and enabled, this helper should be renamed. It was only ever about
enumeration, rename it acpi_scan_device_not_enumerated().

No change in behaviour is intended.

Signed-off-by: James Morse <james.morse@arm.com>
Reviewed-by: Gavin Shan <gshan@redhat.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Miguel Luis <miguel.luis@oracle.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/scan.c