ACPI: Introduce acpi_unload_parent_table() usages in Linux kernel
authorLv Zheng <lv.zheng@intel.com>
Mon, 26 Jan 2015 08:58:48 +0000 (16:58 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 26 Jan 2015 15:08:49 +0000 (16:08 +0100)
commite044d8f92f79db167bb7f9dfd0f317e3238d82d1
tree682e368f69212caf930a0c56701eba3f41f71bdd
parent97d746578b1fc4ce461e6279220cab3605f02469
ACPI: Introduce acpi_unload_parent_table() usages in Linux kernel

ACPICA has implemented acpi_unload_parent_table() which can exactly replace
the acpi_get_id()/acpi_unload_table_id() implemented in Linux kernel.  The
acpi_unload_parent_table() has been unit tested in ACPICA simulation
environment.

This patch can also help to reduce the source code differences between
Linux and ACPICA.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Tested-by: Octavian Purdila <octavian.purdila@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/nsxfobj.c
drivers/acpi/acpica/tbxface.c
drivers/pci/hotplug/sgi_hotplug.c
include/acpi/acpixf.h