]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: glue: Drop cleanup callback from struct acpi_bus_type
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 18 Sep 2021 12:56:17 +0000 (14:56 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 27 Sep 2021 15:01:25 +0000 (17:01 +0200)
commit0d2ce5450666d9a29055fd005325531b264f6b0b
tree7659c700b778bb0424a7bdb2593b4bbf01a60220
parent1ad7b533e5f9e1e361c539b5ff4d540368a52c09
ACPI: glue: Drop cleanup callback from struct acpi_bus_type

Since PCI was the only user of the ->cleanup callback in struct
acpi_bus_type and it is not using struct acpi_bus_type any more,
drop that callback from there and update acpi_device_notify_remove()
accordingly.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Ferry Toth <fntoth@gmail.com>
drivers/acpi/glue.c
include/acpi/acpi_bus.h