James Morse b5bdb60faa ACPI: scan: Use the acpi_device_is_present() helper in more places
acpi_device_is_present() checks the present or functional bits
from the cached copy of _STA.

A few places open-code this check. Use the helper instead to
improve readability.

Signed-off-by: James Morse <james.morse@arm.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.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>
2023-10-20 18:49:31 +02:00
..
2023-08-25 20:55:47 +02:00
2023-08-25 20:40:50 +02:00
2022-05-25 15:37:07 +02:00
2022-11-10 20:21:35 +01:00
2022-01-22 08:33:37 +02:00
2023-03-27 20:50:28 +02:00
2022-10-03 20:09:22 +02:00