diff options
author | Bob Moore <robert.moore@intel.com> | 2012-07-11 21:40:10 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2012-07-17 00:05:51 -0400 |
commit | ba494beeaa69bc0fb01eb89464ad5d57d26e3901 (patch) | |
tree | 804996ccb531af38f91853bd9b8055b65cd2ac6b /drivers/acpi/acpica/hwxfsleep.c | |
parent | 75e7386b104b27b1158bf7d13c69d5317f0033ca (diff) |
ACPICA: AcpiSrc: Fix some translation issues for Linux conversion
Fixes issues like this:
i_aSL -> iASL
00-7_f -> 00-7F
local_fADT -> local_FADT
execute_oSI -> execute_OSI
Also, in function headers, the parameters are now translated to
lower case (with underscores if necessary.)
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.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/acpica/hwxfsleep.c b/drivers/acpi/acpica/hwxfsleep.c index 762d059bb508..f8684bfe7907 100644 --- a/drivers/acpi/acpica/hwxfsleep.c +++ b/drivers/acpi/acpica/hwxfsleep.c | |||
@@ -205,7 +205,7 @@ acpi_status asmlinkage acpi_enter_sleep_state_s4bios(void) | |||
205 | ACPI_FLUSH_CPU_CACHE(); | 205 | ACPI_FLUSH_CPU_CACHE(); |
206 | 206 | ||
207 | status = acpi_hw_write_port(acpi_gbl_FADT.smi_command, | 207 | status = acpi_hw_write_port(acpi_gbl_FADT.smi_command, |
208 | (u32)acpi_gbl_FADT.S4bios_request, 8); | 208 | (u32)acpi_gbl_FADT.s4_bios_request, 8); |
209 | 209 | ||
210 | do { | 210 | do { |
211 | acpi_os_stall(1000); | 211 | acpi_os_stall(1000); |
@@ -349,7 +349,7 @@ ACPI_EXPORT_SYMBOL(acpi_enter_sleep_state_prep) | |||
349 | * FUNCTION: acpi_enter_sleep_state | 349 | * FUNCTION: acpi_enter_sleep_state |
350 | * | 350 | * |
351 | * PARAMETERS: sleep_state - Which sleep state to enter | 351 | * PARAMETERS: sleep_state - Which sleep state to enter |
352 | * Flags - ACPI_EXECUTE_GTS to run optional method | 352 | * flags - ACPI_EXECUTE_GTS to run optional method |
353 | * | 353 | * |
354 | * RETURN: Status | 354 | * RETURN: Status |
355 | * | 355 | * |
@@ -382,7 +382,7 @@ ACPI_EXPORT_SYMBOL(acpi_enter_sleep_state) | |||
382 | * FUNCTION: acpi_leave_sleep_state_prep | 382 | * FUNCTION: acpi_leave_sleep_state_prep |
383 | * | 383 | * |
384 | * PARAMETERS: sleep_state - Which sleep state we are exiting | 384 | * PARAMETERS: sleep_state - Which sleep state we are exiting |
385 | * Flags - ACPI_EXECUTE_BFS to run optional method | 385 | * flags - ACPI_EXECUTE_BFS to run optional method |
386 | * | 386 | * |
387 | * RETURN: Status | 387 | * RETURN: Status |
388 | * | 388 | * |