diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-07-31 11:05:52 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-08-08 11:25:43 +0200 |
commit | d7589404932be148fabe696b56b7c391bad6bdb1 (patch) | |
tree | e069888d143609d45f958a8b82a8140b9d231372 /include/linux/suspend.h | |
parent | 6e86633a791fdf631617ef3a9af3263141d34bc9 (diff) |
ACPI: EC: PM: Consolidate some code depending on PM_SLEEP
Move some routines, including acpi_ec_dispatch_gpe(), that are only
used if CONFIG_PM_SLEEP is set to the #ifdef block containing the EC
suspend and resume callbacks, to make the "full EC PM picture" easier
to follow.
While at it, move the header of acpi_ec_dispatch_gpe() in the
header file to a CONFIG_PM_SLEEP #ifdef block.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Diffstat (limited to 'include/linux/suspend.h')
0 files changed, 0 insertions, 0 deletions