ACPICA: Namespace: Remove _PRP method support.
authorLv Zheng <lv.zheng@intel.com>
Tue, 3 Jun 2014 05:20:32 +0000 (13:20 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 3 Jun 2014 12:53:35 +0000 (14:53 +0200)
The _PRP method is not going to be a part of the ACPI standard. This patch
removes its support code introduced by the following commits:
 1. ACPICA: Predefined names: Add support for the _PRP method.
 2. ACPICA: Update for _PRP predefined name.
 3. ACPICA: Add support for _LPD and _PRP methods.
 4. ACPICA: Back port of _PRP update.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/acpredef.h
include/acpi/acnames.h

index 34001a9fd098479a4b052f18c17003c6594c83d9..bd08817cafd82b5fb6b8013dadce36f405c9b3b1 100644 (file)
@@ -702,12 +702,6 @@ const union acpi_predefined_info acpi_gbl_predefined_methods[] = {
          METHOD_RETURNS(ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Refs) */
        PACKAGE_INFO(ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0, 0, 0, 0),
 
-       {{"_PRP", METHOD_0ARGS,
-         METHOD_RETURNS(ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Pkgs) each: 1 Str, 1 Int/Str/Pkg */
-       PACKAGE_INFO(ACPI_PTYPE2, ACPI_RTYPE_STRING, 1,
-                    ACPI_RTYPE_INTEGER | ACPI_RTYPE_STRING |
-                    ACPI_RTYPE_PACKAGE | ACPI_RTYPE_REFERENCE, 1, 0),
-
        {{"_PRS", METHOD_0ARGS,
          METHOD_RETURNS(ACPI_RTYPE_BUFFER)}},
 
index f0e713fadb1f5a86906983cd2ed5dd91d677d11d..3dd6e838dc300b22f111449d7314441a4adbf38f 100644 (file)
@@ -55,7 +55,6 @@
 #define METHOD_NAME__HID        "_HID"
 #define METHOD_NAME__INI        "_INI"
 #define METHOD_NAME__PLD        "_PLD"
-#define METHOD_NAME__PRP        "_PRP"
 #define METHOD_NAME__PRS        "_PRS"
 #define METHOD_NAME__PRT        "_PRT"
 #define METHOD_NAME__PRW        "_PRW"