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/processor_idle.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/processor_idle.c')
-rw-r--r-- | drivers/acpi/processor_idle.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c index f3decb30223f..50faa93bb97b 100644 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c | |||
@@ -304,16 +304,16 @@ static int acpi_processor_get_power_info_fadt(struct acpi_processor *pr) | |||
304 | pr->power.states[ACPI_STATE_C3].address = pr->pblk + 5; | 304 | pr->power.states[ACPI_STATE_C3].address = pr->pblk + 5; |
305 | 305 | ||
306 | /* determine latencies from FADT */ | 306 | /* determine latencies from FADT */ |
307 | pr->power.states[ACPI_STATE_C2].latency = acpi_gbl_FADT.C2latency; | 307 | pr->power.states[ACPI_STATE_C2].latency = acpi_gbl_FADT.c2_latency; |
308 | pr->power.states[ACPI_STATE_C3].latency = acpi_gbl_FADT.C3latency; | 308 | pr->power.states[ACPI_STATE_C3].latency = acpi_gbl_FADT.c3_latency; |
309 | 309 | ||
310 | /* | 310 | /* |
311 | * FADT specified C2 latency must be less than or equal to | 311 | * FADT specified C2 latency must be less than or equal to |
312 | * 100 microseconds. | 312 | * 100 microseconds. |
313 | */ | 313 | */ |
314 | if (acpi_gbl_FADT.C2latency > ACPI_PROCESSOR_MAX_C2_LATENCY) { | 314 | if (acpi_gbl_FADT.c2_latency > ACPI_PROCESSOR_MAX_C2_LATENCY) { |
315 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, | 315 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, |
316 | "C2 latency too large [%d]\n", acpi_gbl_FADT.C2latency)); | 316 | "C2 latency too large [%d]\n", acpi_gbl_FADT.c2_latency)); |
317 | /* invalidate C2 */ | 317 | /* invalidate C2 */ |
318 | pr->power.states[ACPI_STATE_C2].address = 0; | 318 | pr->power.states[ACPI_STATE_C2].address = 0; |
319 | } | 319 | } |
@@ -322,9 +322,9 @@ static int acpi_processor_get_power_info_fadt(struct acpi_processor *pr) | |||
322 | * FADT supplied C3 latency must be less than or equal to | 322 | * FADT supplied C3 latency must be less than or equal to |
323 | * 1000 microseconds. | 323 | * 1000 microseconds. |
324 | */ | 324 | */ |
325 | if (acpi_gbl_FADT.C3latency > ACPI_PROCESSOR_MAX_C3_LATENCY) { | 325 | if (acpi_gbl_FADT.c3_latency > ACPI_PROCESSOR_MAX_C3_LATENCY) { |
326 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, | 326 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, |
327 | "C3 latency too large [%d]\n", acpi_gbl_FADT.C3latency)); | 327 | "C3 latency too large [%d]\n", acpi_gbl_FADT.c3_latency)); |
328 | /* invalidate C3 */ | 328 | /* invalidate C3 */ |
329 | pr->power.states[ACPI_STATE_C3].address = 0; | 329 | pr->power.states[ACPI_STATE_C3].address = 0; |
330 | } | 330 | } |