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)
commitc4d19838d8c42828c7e39e4432ea5b33f02dac27
tree7659c700b778bb0424a7bdb2593b4bbf01a60220
parent4795448117824cc4900d696f17d1516c56371045
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