Commit bd6f10a5f984e48cb56a39f2698cd58e7a33d56b
Committed by
Len Brown
1 parent
c6e1733e6f
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
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)) { |
drivers/acpi/osl.c
... | ... | @@ -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
include/acpi/acpiosxf.h