ACPI: resource: Add helper function acpi_dev_get_memory_resources()
[ Upstream commit 6bb057bf ] Wrapper function that finds all memory type resources by using acpi_dev_get_resources(). It removes the need for the drivers to check the resource data type separately. Signed-off-by:Heikki Krogerus <heikki.krogerus@linux.intel.com> Signed-off-by:
Rafael J. Wysocki <rafael.j.wysocki@intel.com> Stable-dep-of: c3194949 ("usb: typec: intel_pmc_mux: Don't leak the ACPI device reference count") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading