Commit bd6f10a5f984e48cb56a39f2698cd58e7a33d56b

Authored by Lin Ming
Committed by Len Brown
1 parent c6e1733e6f

ACPICA: Remove argument of acpi_os_wait_events_complete

Remove the unused argument of acpi_os_wait_events_complete.

Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>

Showing 4 changed files with 6 additions and 6 deletions Side-by-side Diff

drivers/acpi/acpica/evxface.c
... ... @@ -251,7 +251,7 @@
251 251 }
252 252 /* Make sure all deferred tasks are completed */
253 253  
254   - acpi_os_wait_events_complete(NULL);
  254 + acpi_os_wait_events_complete();
255 255  
256 256 status = acpi_ut_acquire_mutex(ACPI_MTX_NAMESPACE);
257 257 if (ACPI_FAILURE(status)) {
... ... @@ -699,7 +699,7 @@
699 699  
700 700 /* Make sure all deferred tasks are completed */
701 701  
702   - acpi_os_wait_events_complete(NULL);
  702 + acpi_os_wait_events_complete();
703 703  
704 704 status = acpi_ut_acquire_mutex(ACPI_MTX_EVENTS);
705 705 if (ACPI_FAILURE(status)) {
... ... @@ -891,7 +891,7 @@
891 891 struct acpi_os_dpc *dpc = container_of(work, struct acpi_os_dpc, work);
892 892  
893 893 if (dpc->wait)
894   - acpi_os_wait_events_complete(NULL);
  894 + acpi_os_wait_events_complete();
895 895  
896 896 dpc->function(dpc->context);
897 897 kfree(dpc);
... ... @@ -987,7 +987,7 @@
987 987 return __acpi_os_execute(0, function, context, 1);
988 988 }
989 989  
990   -void acpi_os_wait_events_complete(void *context)
  990 +void acpi_os_wait_events_complete(void)
991 991 {
992 992 flush_workqueue(kacpid_wq);
993 993 flush_workqueue(kacpi_notify_wq);
drivers/acpi/sleep.c
... ... @@ -144,7 +144,7 @@
144 144 static int acpi_pm_freeze(void)
145 145 {
146 146 acpi_disable_all_gpes();
147   - acpi_os_wait_events_complete(NULL);
  147 + acpi_os_wait_events_complete();
148 148 acpi_ec_block_transactions();
149 149 return 0;
150 150 }
include/acpi/acpiosxf.h
... ... @@ -205,7 +205,7 @@
205 205 acpi_status
206 206 acpi_os_hotplug_execute(acpi_osd_exec_callback function, void *context);
207 207  
208   -void acpi_os_wait_events_complete(void *context);
  208 +void acpi_os_wait_events_complete(void);
209 209  
210 210 void acpi_os_sleep(u64 milliseconds);
211 211