ACPI / hotplug / PCI: Simplify acpi_install_hotplug_notify_handler()
Since acpi_hotplug_notify_cb() does not use its data argument any more, the second argument of acpi_install_hotplug_notify_handler() can be dropped, so do that and update its callers accordingly. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
@@ -446,7 +446,7 @@ static inline bool acpi_device_enumerated(struct acpi_device *adev)
|
||||
typedef void (*acpi_hp_callback)(void *data, u32 src);
|
||||
|
||||
acpi_status acpi_hotplug_execute(acpi_hp_callback func, void *data, u32 src);
|
||||
void acpi_install_hotplug_notify_handler(acpi_handle handle, void *data);
|
||||
void acpi_install_hotplug_notify_handler(acpi_handle handle);
|
||||
void acpi_remove_hotplug_notify_handler(acpi_handle handle);
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user