mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
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:
parent
2bd74d91b1
commit
700b8422fb
6 changed files with 9 additions and 19 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue