ACPI: Drop acpi_evaluate_hotplug_ost() and ACPI_HOTPLUG_OST

Replace acpi_evaluate_hotplug_ost() with acpi_evaluate_ost()
everywhere and drop the ACPI_HOTPLUG_OST symbol so that hotplug
_OST is supported unconditionally.

Signed-off-by: Rafael J. Wysocki <[email protected]>
Acked-by: Toshi Kani <[email protected]>
This commit is contained in:
Rafael J. Wysocki 2014-02-21 01:07:17 +01:00
commit 700b8422fb
6 changed files with 9 additions and 19 deletions

View file

@ -51,14 +51,6 @@ acpi_evaluate_reference(acpi_handle handle,
acpi_status
acpi_evaluate_ost(acpi_handle handle, u32 source_event, u32 status_code,
struct acpi_buffer *status_buf);
#ifdef ACPI_HOTPLUG_OST
#define acpi_evaluate_hotplug_ost acpi_evaluate_ost
#else
static inline acpi_status
acpi_evaluate_hotplug_ost(acpi_handle handle, u32 source_event,
u32 status_code, struct acpi_buffer *status_buf)
{ return AE_OK; }
#endif
acpi_status
acpi_get_physical_device_location(acpi_handle handle, struct acpi_pld_info **pld);