[RFC PATCH 2/3] acpi: Make acpi_bus_trim handle device removal preparation

2012-11-08 Thread Vasilis Liaskovitis
A new argument is added to acpi_bus_trim, which indicates if we are preparing for removal or performing the actual ACPI removal. This is needed for safe removal of memory devices. The argument change would not be needed if the existing argument rmdevice of acpi_bus_trim could be used instead.

[RFC PATCH 2/3] acpi: Make acpi_bus_trim handle device removal preparation

2012-11-08 Thread Vasilis Liaskovitis
A new argument is added to acpi_bus_trim, which indicates if we are preparing for removal or performing the actual ACPI removal. This is needed for safe removal of memory devices. The argument change would not be needed if the existing argument rmdevice of acpi_bus_trim could be used instead.