diff options
| author | Lv Zheng <lv.zheng@intel.com> | 2015-01-26 03:58:48 -0500 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-01-26 10:08:49 -0500 |
| commit | e044d8f92f79db167bb7f9dfd0f317e3238d82d1 (patch) | |
| tree | 682e368f69212caf930a0c56701eba3f41f71bdd /include | |
| parent | 97d746578b1fc4ce461e6279220cab3605f02469 (diff) | |
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>
Diffstat (limited to 'include')
| -rw-r--r-- | include/acpi/acpixf.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index 5ba78464c1b1..5dd21bc18ce6 100644 --- a/include/acpi/acpixf.h +++ b/include/acpi/acpixf.h | |||
| @@ -891,12 +891,6 @@ ACPI_APP_DEPENDENT_RETURN_VOID(ACPI_PRINTF_LIKE(1) | |||
| 891 | ACPI_GLOBAL(u8, acpi_gbl_permanent_mmap); | 891 | ACPI_GLOBAL(u8, acpi_gbl_permanent_mmap); |
| 892 | 892 | ||
| 893 | ACPI_EXTERNAL_RETURN_STATUS(acpi_status | 893 | ACPI_EXTERNAL_RETURN_STATUS(acpi_status |
| 894 | acpi_get_id(acpi_handle object, | ||
| 895 | acpi_owner_id * out_type)) | ||
| 896 | |||
| 897 | ACPI_EXTERNAL_RETURN_STATUS(acpi_status acpi_unload_table_id(acpi_owner_id id)) | ||
| 898 | |||
| 899 | ACPI_EXTERNAL_RETURN_STATUS(acpi_status | ||
| 900 | acpi_get_table_with_size(acpi_string signature, | 894 | acpi_get_table_with_size(acpi_string signature, |
| 901 | u32 instance, | 895 | u32 instance, |
| 902 | struct acpi_table_header | 896 | struct acpi_table_header |
