diff options
author | Bob Moore <robert.moore@intel.com> | 2009-02-23 02:02:07 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-03-26 16:38:31 -0400 |
commit | 50ffba1bd3120b069617455545bc27bcf3cf7579 (patch) | |
tree | a4e1e1e22e526ff5067d9fb0fb90e18fccc948a3 /drivers/acpi/sleep.c | |
parent | 9892dd23cbbfab1f7d4818622296e415979a9c77 (diff) |
ACPICA: Rename ACPI bit register access functions
Rename acpi_get_register and acpi_set_register to clarify the
purpose of these functions. New names are acpi_read_bit_register
and acpi_write_bit_register.
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/sleep.c')
-rw-r--r-- | drivers/acpi/sleep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c index 00456fccfa38..837ac7d5801b 100644 --- a/drivers/acpi/sleep.c +++ b/drivers/acpi/sleep.c | |||
@@ -248,7 +248,7 @@ static int acpi_suspend_enter(suspend_state_t pm_state) | |||
248 | 248 | ||
249 | /* If ACPI is not enabled by the BIOS, we need to enable it here. */ | 249 | /* If ACPI is not enabled by the BIOS, we need to enable it here. */ |
250 | if (set_sci_en_on_resume) | 250 | if (set_sci_en_on_resume) |
251 | acpi_set_register(ACPI_BITREG_SCI_ENABLE, 1); | 251 | acpi_write_bit_register(ACPI_BITREG_SCI_ENABLE, 1); |
252 | else | 252 | else |
253 | acpi_enable(); | 253 | acpi_enable(); |
254 | 254 | ||