ACPICA: Rename acpi_ex_system_do_suspend->acpi_ex_system_do_sleep
authorBob Moore <robert.moore@intel.com>
Tue, 27 Apr 2010 03:48:02 +0000 (11:48 +0800)
committerLen Brown <len.brown@intel.com>
Thu, 6 May 2010 07:05:54 +0000 (03:05 -0400)
Suspend has other meanings in ACPI context, name was misleading.

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>
drivers/acpi/acpica/acinterp.h
drivers/acpi/acpica/exoparg1.c
drivers/acpi/acpica/exsystem.c

index 9a9b89312b09761e52ad1d12ffe26ee971bb46e5..049e203bd62196e46d81cab6ab66c776479f5f70 100644 (file)
@@ -281,7 +281,7 @@ acpi_status
 acpi_ex_system_do_notify_op(union acpi_operand_object *value,
                            union acpi_operand_object *obj_desc);
 
-acpi_status acpi_ex_system_do_suspend(u64 time);
+acpi_status acpi_ex_system_do_sleep(u64 time);
 
 acpi_status acpi_ex_system_do_stall(u32 time);
 
index 38e0f3c1f1d73bf134e26c19a85a4bb4d142a539..84e4d185aa255f16857f5942333cfd564dd8d3f7 100644 (file)
@@ -173,7 +173,7 @@ acpi_status acpi_ex_opcode_1A_0T_0R(struct acpi_walk_state *walk_state)
 
        case AML_SLEEP_OP:      /*  Sleep (msec_time) */
 
-               status = acpi_ex_system_do_suspend(operand[0]->integer.value);
+               status = acpi_ex_system_do_sleep(operand[0]->integer.value);
                break;
 
        case AML_STALL_OP:      /*  Stall (usec_time) */
index c9513d534082bf21a9d414b2a93e07b4ce186f9a..6d32e09327f17e35724839fa81dee69707867f1d 100644 (file)
@@ -182,18 +182,18 @@ acpi_status acpi_ex_system_do_stall(u32 how_long)
 
 /*******************************************************************************
  *
- * FUNCTION:    acpi_ex_system_do_suspend
+ * FUNCTION:    acpi_ex_system_do_sleep
  *
- * PARAMETERS:  how_long        - The amount of time to suspend,
+ * PARAMETERS:  how_long        - The amount of time to sleep,
  *                                in milliseconds
  *
  * RETURN:      None
  *
- * DESCRIPTION: Suspend running thread for specified amount of time.
+ * DESCRIPTION: Sleep the running thread for specified amount of time.
  *
  ******************************************************************************/
 
-acpi_status acpi_ex_system_do_suspend(u64 how_long)
+acpi_status acpi_ex_system_do_sleep(u64 how_long)
 {
        ACPI_FUNCTION_ENTRY();