]> asedeno.scripts.mit.edu Git - linux.git/commit
ACPICA: Get rid of acpi_sleep_dispatch()
authorChristoph Hellwig <hch@lst.de>
Mon, 4 Feb 2019 15:32:10 +0000 (16:32 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 7 Feb 2019 11:21:33 +0000 (12:21 +0100)
commitf2fee24c5aae13d8170d011f97f41e1968ae5b5f
treea22b5aa088b3c9fd4b26675c3d2f2944b2e31782
parent075470d88930dd16858a844f9dfb611c11f798d3
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>
drivers/acpi/acpica/hwxfsleep.c
include/acpi/actypes.h