diff options
author | Bob Moore <robert.moore@intel.com> | 2007-02-02 11:48:21 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-02-02 21:14:26 -0500 |
commit | d8c71b6d3b21cf21ad775e1cf6da95bf87bd5ad4 (patch) | |
tree | 8525fe67ab2a3fb2bb4f203bdc7c9b6bb090afcc /drivers/acpi/events/evxfevnt.c | |
parent | 73ca0fbcc25a6080db4136f55dbcd5fe7b33398f (diff) |
ACPICA: Remove obsolete Flags parameter.
Remove flags parameter for acpi_{get,set}_register().
It is no longer necessary now that these functions use a
spinlock for mutual exclusion.
Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/events/evxfevnt.c')
-rw-r--r-- | drivers/acpi/events/evxfevnt.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/acpi/events/evxfevnt.c b/drivers/acpi/events/evxfevnt.c index 91e5f5b53a97..a3d148e4d39f 100644 --- a/drivers/acpi/events/evxfevnt.c +++ b/drivers/acpi/events/evxfevnt.c | |||
@@ -157,7 +157,7 @@ acpi_status acpi_enable_event(u32 event, u32 flags) | |||
157 | */ | 157 | */ |
158 | status = | 158 | status = |
159 | acpi_set_register(acpi_gbl_fixed_event_info[event]. | 159 | acpi_set_register(acpi_gbl_fixed_event_info[event]. |
160 | enable_register_id, 1, ACPI_MTX_LOCK); | 160 | enable_register_id, 1); |
161 | if (ACPI_FAILURE(status)) { | 161 | if (ACPI_FAILURE(status)) { |
162 | return_ACPI_STATUS(status); | 162 | return_ACPI_STATUS(status); |
163 | } | 163 | } |
@@ -166,7 +166,7 @@ acpi_status acpi_enable_event(u32 event, u32 flags) | |||
166 | 166 | ||
167 | status = | 167 | status = |
168 | acpi_get_register(acpi_gbl_fixed_event_info[event]. | 168 | acpi_get_register(acpi_gbl_fixed_event_info[event]. |
169 | enable_register_id, &value, ACPI_MTX_LOCK); | 169 | enable_register_id, &value); |
170 | if (ACPI_FAILURE(status)) { | 170 | if (ACPI_FAILURE(status)) { |
171 | return_ACPI_STATUS(status); | 171 | return_ACPI_STATUS(status); |
172 | } | 172 | } |
@@ -356,14 +356,14 @@ acpi_status acpi_disable_event(u32 event, u32 flags) | |||
356 | */ | 356 | */ |
357 | status = | 357 | status = |
358 | acpi_set_register(acpi_gbl_fixed_event_info[event]. | 358 | acpi_set_register(acpi_gbl_fixed_event_info[event]. |
359 | enable_register_id, 0, ACPI_MTX_LOCK); | 359 | enable_register_id, 0); |
360 | if (ACPI_FAILURE(status)) { | 360 | if (ACPI_FAILURE(status)) { |
361 | return_ACPI_STATUS(status); | 361 | return_ACPI_STATUS(status); |
362 | } | 362 | } |
363 | 363 | ||
364 | status = | 364 | status = |
365 | acpi_get_register(acpi_gbl_fixed_event_info[event]. | 365 | acpi_get_register(acpi_gbl_fixed_event_info[event]. |
366 | enable_register_id, &value, ACPI_MTX_LOCK); | 366 | enable_register_id, &value); |
367 | if (ACPI_FAILURE(status)) { | 367 | if (ACPI_FAILURE(status)) { |
368 | return_ACPI_STATUS(status); | 368 | return_ACPI_STATUS(status); |
369 | } | 369 | } |
@@ -409,7 +409,7 @@ acpi_status acpi_clear_event(u32 event) | |||
409 | */ | 409 | */ |
410 | status = | 410 | status = |
411 | acpi_set_register(acpi_gbl_fixed_event_info[event]. | 411 | acpi_set_register(acpi_gbl_fixed_event_info[event]. |
412 | status_register_id, 1, ACPI_MTX_LOCK); | 412 | status_register_id, 1); |
413 | 413 | ||
414 | return_ACPI_STATUS(status); | 414 | return_ACPI_STATUS(status); |
415 | } | 415 | } |
@@ -498,7 +498,7 @@ acpi_status acpi_get_event_status(u32 event, acpi_event_status * event_status) | |||
498 | 498 | ||
499 | status = | 499 | status = |
500 | acpi_get_register(acpi_gbl_fixed_event_info[event]. | 500 | acpi_get_register(acpi_gbl_fixed_event_info[event]. |
501 | status_register_id, event_status, ACPI_MTX_LOCK); | 501 | status_register_id, event_status); |
502 | 502 | ||
503 | return_ACPI_STATUS(status); | 503 | return_ACPI_STATUS(status); |
504 | } | 504 | } |