summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/hwxfsleep.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2012-02-14 18:43:03 +0800
committerLen Brown <len.brown@intel.com>2012-03-22 01:45:00 -0400
commitf99648b1aff8b6158333a06c50d627be3c243a32 (patch)
tree79718a2ed4c5962a0b728ba4a13b9303fffbdc13 /drivers/acpi/acpica/hwxfsleep.c
parentf7b004a17c9183f023796dea0d70284684ec000d (diff)
downloadop-kernel-dev-f99648b1aff8b6158333a06c50d627be3c243a32.zip
op-kernel-dev-f99648b1aff8b6158333a06c50d627be3c243a32.tar.gz
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 d599961..ff20558 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);
}
OpenPOWER on IntegriCloud