ACPI: Return translation offset when parsing ACPI address space resources
authorJiang Liu <jiang.liu@linux.intel.com>
Mon, 2 Feb 2015 02:42:58 +0000 (10:42 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 3 Feb 2015 21:27:21 +0000 (22:27 +0100)
commita49170b552423a3e85fc4f0d778c707402ee4863
treee78aa9b2c9d8c1aa39958f82df27f3980304ea5d
parenta274019fc332d7b4dcb85735978c2018522be312
ACPI: Return translation offset when parsing ACPI address space resources

Change function acpi_dev_resource_address_space() and
acpi_dev_resource_ext_address_space() to return address space
translation offset.

It's based on a patch from Yinghai Lu <yinghai@kernel.org>.

Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/resource.c
drivers/pnp/pnpacpi/rsparser.c
include/linux/acpi.h