summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/nsrepair2.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2009-12-11 08:24:27 +0100
committerLen Brown <len.brown@intel.com>2009-12-15 23:29:36 +0100
commit43420bbb892268b5fc42cb80c3bc31dedbad3ac9 (patch)
treed7c1030dfdca4c6c354d5ff1c10af017d2ac04e3 /drivers/acpi/acpica/nsrepair2.c
parentACPICA: Remove messages if predefined repair(s) are successful (diff)
downloadlinux-43420bbb892268b5fc42cb80c3bc31dedbad3ac9.tar.xz
linux-43420bbb892268b5fc42cb80c3bc31dedbad3ac9.zip
ACPICA: Update function headers and comments, no functional change
Update comments for repair of _FDE and _GTM methods. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/nsrepair2.c')
-rw-r--r--drivers/acpi/acpica/nsrepair2.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/acpi/acpica/nsrepair2.c b/drivers/acpi/acpica/nsrepair2.c
index 199333880c8d..e7373eb6cfa5 100644
--- a/drivers/acpi/acpica/nsrepair2.c
+++ b/drivers/acpi/acpica/nsrepair2.c
@@ -111,8 +111,8 @@ acpi_ns_sort_list(union acpi_operand_object **elements,
* As necessary:
*
* _ALR: Sort the list ascending by ambient_illuminance
- * _FDE: Convert a Package or Buffer of BYTEs to a Buffer of DWORDs
- * _GTM: Convert a Package or Buffer of BYTEs to a Buffer of DWORDs
+ * _FDE: Convert Buffer of BYTEs to a Buffer of DWORDs
+ * _GTM: Convert Buffer of BYTEs to a Buffer of DWORDs
* _PSS: Sort the list descending by Power
* _TSS: Sort the list descending by Power
*/
@@ -238,10 +238,9 @@ acpi_ns_repair_ALR(struct acpi_predefined_data *data,
* RETURN: Status. AE_OK if object is OK or was repaired successfully
*
* DESCRIPTION: Repair for the _FDE and _GTM objects. The expected return
- * value is a Buffer of 5 DWORDs. This function repairs two
- * possible problems:
- * 1) The return value is a Buffer of BYTEs, not DWORDs
- * 2) The return value is a Package of Integer objects
+ * value is a Buffer of 5 DWORDs. This function repairs a common
+ * problem where the return value is a Buffer of BYTEs, not
+ * DWORDs.
*
*****************************************************************************/