aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/events/evgpe.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/events/evgpe.c')
-rw-r--r--drivers/acpi/events/evgpe.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/drivers/acpi/events/evgpe.c b/drivers/acpi/events/evgpe.c
index 12b49d312ad3..a54885993ed3 100644
--- a/drivers/acpi/events/evgpe.c
+++ b/drivers/acpi/events/evgpe.c
@@ -422,10 +422,8 @@ u32 acpi_ev_gpe_detect(struct acpi_gpe_xrupt_info * gpe_xrupt_list)
422 /* Read the Status Register */ 422 /* Read the Status Register */
423 423
424 status = 424 status =
425 acpi_hw_low_level_read(ACPI_GPE_REGISTER_WIDTH, 425 acpi_read(&status_reg,
426 &status_reg, 426 &gpe_register_info->status_address);
427 &gpe_register_info->
428 status_address);
429 if (ACPI_FAILURE(status)) { 427 if (ACPI_FAILURE(status)) {
430 goto unlock_and_exit; 428 goto unlock_and_exit;
431 } 429 }
@@ -433,10 +431,8 @@ u32 acpi_ev_gpe_detect(struct acpi_gpe_xrupt_info * gpe_xrupt_list)
433 /* Read the Enable Register */ 431 /* Read the Enable Register */
434 432
435 status = 433 status =
436 acpi_hw_low_level_read(ACPI_GPE_REGISTER_WIDTH, 434 acpi_read(&enable_reg,
437 &enable_reg, 435 &gpe_register_info->enable_address);
438 &gpe_register_info->
439 enable_address);
440 if (ACPI_FAILURE(status)) { 436 if (ACPI_FAILURE(status)) {
441 goto unlock_and_exit; 437 goto unlock_and_exit;
442 } 438 }