diff options
author | Christoph Hellwig <hch@lst.de> | 2019-02-04 16:32:10 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-02-07 12:21:33 +0100 |
commit | f2fee24c5aae13d8170d011f97f41e1968ae5b5f (patch) | |
tree | a22b5aa088b3c9fd4b26675c3d2f2944b2e31782 /include/acpi | |
parent | ACPICA: Update version to 20190108 (diff) | |
download | linux-f2fee24c5aae13d8170d011f97f41e1968ae5b5f.tar.xz linux-f2fee24c5aae13d8170d011f97f41e1968ae5b5f.zip |
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/acpi')
-rw-r--r-- | include/acpi/actypes.h | 9 |
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 */ |