diff options
author | Lin Ming <ming.m.lin@intel.com> | 2010-12-13 00:36:15 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2011-01-12 04:24:40 -0500 |
commit | 3a37898d507794cfc68a092303e02651d3f01308 (patch) | |
tree | e3a53e7746a5a69000553814d8f07fa51b99ab45 /drivers/acpi/wakeup.c | |
parent | 3cfd53d53f700a225716294842b1a843326dea21 (diff) |
ACPICA: Rename some function and variable names
Some function and variable names are renamed to be consistent with
ACPICA code base.
acpi_raw_enable_gpe -> acpi_ev_add_gpe_reference
acpi_raw_disable_gpe -> acpi_ev_remove_gpe_reference
acpi_gpe_can_wake -> acpi_setup_gpe_for_wake
acpi_gpe_wakeup -> acpi_set_gpe_wake_mask
acpi_update_gpes -> acpi_update_all_gpes
acpi_all_gpes_initialized -> acpi_gbl_all_gpes_initialized
acpi_handler_info -> acpi_gpe_handler_info
...
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/wakeup.c')
-rw-r--r-- | drivers/acpi/wakeup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/wakeup.c b/drivers/acpi/wakeup.c index f62a50c3ed34..c6cb68e0a80c 100644 --- a/drivers/acpi/wakeup.c +++ b/drivers/acpi/wakeup.c | |||
@@ -45,7 +45,7 @@ void acpi_enable_wakeup_devices(u8 sleep_state) | |||
45 | acpi_enable_wakeup_device_power(dev, sleep_state); | 45 | acpi_enable_wakeup_device_power(dev, sleep_state); |
46 | 46 | ||
47 | /* The wake-up power should have been enabled already. */ | 47 | /* The wake-up power should have been enabled already. */ |
48 | acpi_gpe_wakeup(dev->wakeup.gpe_device, dev->wakeup.gpe_number, | 48 | acpi_set_gpe_wake_mask(dev->wakeup.gpe_device, dev->wakeup.gpe_number, |
49 | ACPI_GPE_ENABLE); | 49 | ACPI_GPE_ENABLE); |
50 | } | 50 | } |
51 | } | 51 | } |
@@ -67,7 +67,7 @@ void acpi_disable_wakeup_devices(u8 sleep_state) | |||
67 | || (sleep_state > (u32) dev->wakeup.sleep_state)) | 67 | || (sleep_state > (u32) dev->wakeup.sleep_state)) |
68 | continue; | 68 | continue; |
69 | 69 | ||
70 | acpi_gpe_wakeup(dev->wakeup.gpe_device, dev->wakeup.gpe_number, | 70 | acpi_set_gpe_wake_mask(dev->wakeup.gpe_device, dev->wakeup.gpe_number, |
71 | ACPI_GPE_DISABLE); | 71 | ACPI_GPE_DISABLE); |
72 | 72 | ||
73 | if (dev->wakeup.state.enabled) | 73 | if (dev->wakeup.state.enabled) |