Commit 2dc1dba1 authored by Heikki Krogerus's avatar Heikki Krogerus Committed by Greg Kroah-Hartman
Browse files

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: default avatarHeikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: default avatarRafael 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: default avatarSasha Levin <sashal@kernel.org>
parent 950c6df6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment