ACPI: Move device resources interpretation code from PNP to ACPI core
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 14 Nov 2012 23:30:01 +0000 (00:30 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 14 Nov 2012 23:30:01 +0000 (00:30 +0100)
commit046d9ce6820e99087e81511284045eada94950e8
treeee711962f10007ca4f439aedbe8986ac531a4988
parentb4b6cae2f36d92b31788f10816709d5290a1119a
ACPI: Move device resources interpretation code from PNP to ACPI core

Move some code used for parsing ACPI device resources from the PNP
subsystem to the ACPI core, so that other bus types (platform, SPI,
I2C) can use the same routines for parsing resources in a consistent
way, without duplicating code.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Tested-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/acpi/Makefile
drivers/acpi/resource.c [new file with mode: 0644]
drivers/pnp/base.h
drivers/pnp/pnpacpi/rsparser.c
drivers/pnp/resource.c
include/linux/acpi.h