[PATCH 5.15 293/567] ACPI: resource: Add helper function acpi_dev_get_memory_resources()