summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/hwxfsleep.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2012-02-14 11:43:03 +0100
committerLen Brown <len.brown@intel.com>2012-03-22 06:45:00 +0100
commitf99648b1aff8b6158333a06c50d627be3c243a32 (patch)
tree79718a2ed4c5962a0b728ba4a13b9303fffbdc13 /drivers/acpi/acpica/hwxfsleep.c
parentACPICA: Add acpi_os_physical_table_override interface (diff)
downloadlinux-f99648b1aff8b6158333a06c50d627be3c243a32.tar.xz
linux-f99648b1aff8b6158333a06c50d627be3c243a32.zip
ACPICA: Distill multiple sleep method functions to a single function
Adds acpi_hw_execute_sleep_method to handle the various sleep methods such as _GTS, _BFS, _WAK, and _SST. Removes the specialized functions previously used for each of these 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/hwxfsleep.c')
-rw-r--r--drivers/acpi/acpica/hwxfsleep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/hwxfsleep.c b/drivers/acpi/acpica/hwxfsleep.c
index d599961e93c8..ff2055804809 100644
--- a/drivers/acpi/acpica/hwxfsleep.c
+++ b/drivers/acpi/acpica/hwxfsleep.c
@@ -261,7 +261,7 @@ acpi_status acpi_enter_sleep_state_prep(u8 sleep_state)
* Set the system indicators to show the desired sleep state.
* _SST is an optional method (return no error if not found)
*/
- acpi_hw_execute_SST(sst_value);
+ acpi_hw_execute_sleep_method(METHOD_NAME__SST, sst_value);
return_ACPI_STATUS(AE_OK);
}