diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-02-06 13:57:58 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-02-06 17:31:51 +0100 |
commit | 5e6f236c263117cef5f0d68e3fec241ba2adc4fc (patch) | |
tree | 87c7fcf35434819cccace6f49ff1c3edddce5bdc /drivers/pci/hotplug/acpiphp_glue.c | |
parent | ACPI / hotplug / PCI: Rework the handling of eject requests (diff) | |
download | linux-5e6f236c263117cef5f0d68e3fec241ba2adc4fc.tar.xz linux-5e6f236c263117cef5f0d68e3fec241ba2adc4fc.zip |
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>
Diffstat (limited to 'drivers/pci/hotplug/acpiphp_glue.c')
-rw-r--r-- | drivers/pci/hotplug/acpiphp_glue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/acpiphp_glue.c b/drivers/pci/hotplug/acpiphp_glue.c index 7c498d663eb3..f3c49c442d93 100644 --- a/drivers/pci/hotplug/acpiphp_glue.c +++ b/drivers/pci/hotplug/acpiphp_glue.c @@ -376,7 +376,7 @@ static acpi_status register_slot(acpi_handle handle, u32 lvl, void *data, /* install notify handler */ if (!(newfunc->flags & FUNC_HAS_DCK)) - acpi_install_hotplug_notify_handler(handle, NULL); + acpi_install_hotplug_notify_handler(handle); return AE_OK; } |