]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ACPICA: Remove argument of acpi_os_wait_events_complete
authorLin Ming <ming.m.lin@intel.com>
Tue, 22 May 2012 08:43:49 +0000 (16:43 +0800)
committerLen Brown <len.brown@intel.com>
Fri, 1 Jun 2012 15:51:53 +0000 (11:51 -0400)
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>
drivers/acpi/acpica/evxface.c
drivers/acpi/osl.c
drivers/acpi/sleep.c
include/acpi/acpiosxf.h

index 90ae6d19364591eeaa64955dbcf5971222b52bdd..6a8b53789be46ca286b372c3ac5cf9e18ee398f1 100644 (file)
@@ -251,7 +251,7 @@ acpi_remove_notify_handler(acpi_handle device,
        }
        /* Make sure all deferred tasks are completed */
 
-       acpi_os_wait_events_complete(NULL);
+       acpi_os_wait_events_complete();
 
        status = acpi_ut_acquire_mutex(ACPI_MTX_NAMESPACE);
        if (ACPI_FAILURE(status)) {
@@ -699,7 +699,7 @@ acpi_remove_gpe_handler(acpi_handle gpe_device,
 
        /* Make sure all deferred tasks are completed */
 
-       acpi_os_wait_events_complete(NULL);
+       acpi_os_wait_events_complete();
 
        status = acpi_ut_acquire_mutex(ACPI_MTX_EVENTS);
        if (ACPI_FAILURE(status)) {
index c3881b2eb8b2c5a0ac9b353aa7d7bdd699001ba0..9eaf708f588553ee78b10bb6571e55859fb1db3c 100644 (file)
@@ -891,7 +891,7 @@ static void acpi_os_execute_deferred(struct work_struct *work)
        struct acpi_os_dpc *dpc = container_of(work, struct acpi_os_dpc, work);
 
        if (dpc->wait)
-               acpi_os_wait_events_complete(NULL);
+               acpi_os_wait_events_complete();
 
        dpc->function(dpc->context);
        kfree(dpc);
@@ -987,7 +987,7 @@ acpi_status acpi_os_hotplug_execute(acpi_osd_exec_callback function,
        return __acpi_os_execute(0, function, context, 1);
 }
 
-void acpi_os_wait_events_complete(void *context)
+void acpi_os_wait_events_complete(void)
 {
        flush_workqueue(kacpid_wq);
        flush_workqueue(kacpi_notify_wq);
index eb6fd233764bdeb7f28bc04626c23a1488db9af7..9a14f90d98ec039596e90b187b6f6ed9d365a386 100644 (file)
@@ -144,7 +144,7 @@ void __init acpi_old_suspend_ordering(void)
 static int acpi_pm_freeze(void)
 {
        acpi_disable_all_gpes();
-       acpi_os_wait_events_complete(NULL);
+       acpi_os_wait_events_complete();
        acpi_ec_block_transactions();
        return 0;
 }
index 21a5548c66865cb2b3a79d18807b79ce771f6d9f..f3746f7e0f40c6d158972b4b486cd8c5d9dc5c0d 100644 (file)
@@ -205,7 +205,7 @@ acpi_os_execute(acpi_execute_type type,
 acpi_status
 acpi_os_hotplug_execute(acpi_osd_exec_callback function, void *context);
 
-void acpi_os_wait_events_complete(void *context);
+void acpi_os_wait_events_complete(void);
 
 void acpi_os_sleep(u64 milliseconds);