diff options
author | Bob Moore <robert.moore@intel.com> | 2010-07-05 22:30:37 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-07-06 22:34:27 -0400 |
commit | de5668fe7549c0586c6f64fa5661604cf7029a99 (patch) | |
tree | 1be663f89d150c709477e5d80c2aa4c9970b0f36 /drivers/acpi/acpica/evgpe.c | |
parent | ddcc6a037c0f9378f29658636a2c2b54c4238ec4 (diff) |
ACPICA: Remove obsolete GPE function
Remove acpi_hw_write_gpe_enable_reg, it had been reduced down to a
single line of code, and called from only one place.
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/evgpe.c')
-rw-r--r-- | drivers/acpi/acpica/evgpe.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/evgpe.c b/drivers/acpi/acpica/evgpe.c index 56de460570d6..7a6a3e6f4be0 100644 --- a/drivers/acpi/acpica/evgpe.c +++ b/drivers/acpi/acpica/evgpe.c | |||
@@ -452,8 +452,12 @@ static void acpi_ev_asynch_enable_gpe(void *context) | |||
452 | } | 452 | } |
453 | } | 453 | } |
454 | 454 | ||
455 | /* Enable this GPE */ | 455 | /* |
456 | (void)acpi_hw_write_gpe_enable_reg(gpe_event_info); | 456 | * Enable this GPE, conditionally. This means that the GPE will only be |
457 | * physically enabled if the enable_for_run bit is set in the event_info | ||
458 | */ | ||
459 | (void)acpi_hw_low_set_gpe(gpe_event_info, ACPI_GPE_COND_ENABLE); | ||
460 | |||
457 | return_VOID; | 461 | return_VOID; |
458 | } | 462 | } |
459 | 463 | ||