summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-02-04 16:32:10 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-02-07 12:21:33 +0100
commitf2fee24c5aae13d8170d011f97f41e1968ae5b5f (patch)
treea22b5aa088b3c9fd4b26675c3d2f2944b2e31782 /include
parent075470d88930dd16858a844f9dfb611c11f798d3 (diff)
downloadlinux-f2fee24c5aae13d8170d011f97f41e1968ae5b5f.tar.gz
ACPICA: Get rid of acpi_sleep_dispatch()
No need for the array of structs of function pointers when we can just
call the handfull of functions directly.

This could be further cleaned up if acpi_gbl_reduced_hardware was defined
true in the ACPI_REDUCED_HARDWARE case, but that's material for the next
round.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/acpi/actypes.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/acpi/actypes.h b/include/acpi/actypes.h
index 913a7cfb61e6..4c1395a6d82a 100644
--- a/include/acpi/actypes.h
+++ b/include/acpi/actypes.h
@@ -885,15 +885,6 @@ typedef u8 acpi_adr_space_type;
 #define ACPI_ENABLE_EVENT                       1
 #define ACPI_DISABLE_EVENT                      0
 
-/* Sleep function dispatch */
-
-typedef acpi_status (*acpi_sleep_function) (u8 sleep_state);
-
-struct acpi_sleep_functions {
-	acpi_sleep_function legacy_function;
-	acpi_sleep_function extended_function;
-};
-
 /*
  * External ACPI object definition
  */