]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / PCI: Make PCI IRQ link driver use struct acpi_scan_handler
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 30 Jan 2013 13:27:37 +0000 (14:27 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 30 Jan 2013 13:27:37 +0000 (14:27 +0100)
commit8bca30c9b8e0f47ed092b873904b3308ff100f7e
tree14f6d18fa3070e44dae62b1fc9d2688906e14ab4
parent70eeda5cac31750a6463a62dcd3ac5b6a81e3f68
ACPI / PCI: Make PCI IRQ link driver use struct acpi_scan_handler

Make the ACPI PCI IRQ link driver use struct acpi_scan_handler
for representing the object used to set up ACPI interrupt links and
to remove data structures used for this purpose before unregistering
the corresponding ACPI device nodes.

This simplifies the code slightly and reduces the kernel's memory
footprint by avoiding the registration of a struct device_driver
object with the driver core and creation of its sysfs directory
which is unnecessary.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Yinghai Lu <yinghai@kernel.org>
Acked-by: Toshi Kani <toshi.kani@hp.com>
drivers/acpi/internal.h
drivers/acpi/pci_link.c
drivers/acpi/scan.c