Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bd6f10a5 authored by Lin Ming's avatar Lin Ming Committed by Len Brown
Browse files

ACPICA: Remove argument of acpi_os_wait_events_complete



Remove the unused argument of acpi_os_wait_events_complete.

Signed-off-by: default avatarLin Ming <ming.m.lin@intel.com>
Signed-off-by: default avatarBob Moore <robert.moore@intel.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent c6e1733e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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)) {
+2 −2
Original line number Diff line number Diff line
@@ -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);
+1 −1
Original line number Diff line number Diff line
@@ -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;
}
+1 −1
Original line number Diff line number Diff line
@@ -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);