ACPI: bus: Drop unused list heads from struct acpi_device
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 13 Jun 2022 18:38:00 +0000 (20:38 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 1 Jul 2022 19:20:12 +0000 (21:20 +0200)
commite6bdbcc764af822ff7172a4a78d437dc433a0c74
tree3dabe1ec3a32e548b08cb64b677d11f946a7adf2
parentd674553009afc9b24cab2bbec71628609edbbb27
ACPI: bus: Drop unused list heads from struct acpi_device

Drop the children and node list heads that have no more users
from struct acpi_device and the code manipulating them from
__acpi_device_add() and acpi_device_del().

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/acpi/scan.c
include/acpi/acpi_bus.h