diff options
author | Bob Moore <robert.moore@intel.com> | 2009-02-23 15:02:07 +0800 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-03-26 16:38:31 -0400 |
commit | 50ffba1bd3120b069617455545bc27bcf3cf7579 (patch) | |
tree | a4e1e1e22e526ff5067d9fb0fb90e18fccc948a3 /drivers/acpi/acpica/hwacpi.c | |
parent | 9892dd23cbbfab1f7d4818622296e415979a9c77 (diff) | |
download | op-kernel-dev-50ffba1bd3120b069617455545bc27bcf3cf7579.zip op-kernel-dev-50ffba1bd3120b069617455545bc27bcf3cf7579.tar.gz |
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/acpica/hwacpi.c')
-rw-r--r-- | drivers/acpi/acpica/hwacpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/hwacpi.c b/drivers/acpi/acpica/hwacpi.c index a9d4fea..8902db8 100644 --- a/drivers/acpi/acpica/hwacpi.c +++ b/drivers/acpi/acpica/hwacpi.c @@ -172,7 +172,7 @@ u32 acpi_hw_get_mode(void) return_UINT32(ACPI_SYS_MODE_ACPI); } - status = acpi_get_register(ACPI_BITREG_SCI_ENABLE, &value); + status = acpi_read_bit_register(ACPI_BITREG_SCI_ENABLE, &value); if (ACPI_FAILURE(status)) { return_UINT32(ACPI_SYS_MODE_LEGACY); } |