ACPI: 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>
Loading
Please register or sign in to comment