ACPI: x86: s2idle: Add a function to get LPS0 constraint for a device
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 18 Aug 2023 19:40:07 +0000 (14:40 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 21 Aug 2023 18:28:20 +0000 (20:28 +0200)
commit1c2a66d47de36608551d73562d01bb4afcf1d61a
tree0cd888ff33c59fef4d7af4473475f28317b6524b
parent41233988112f0f5fb015172a8db68a3c052aedda
ACPI: x86: s2idle: Add a function to get LPS0 constraint for a device

Other parts of the kernel may use LPS0 constraints information to make
decisions on what power state to put a device into.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
[ rjw: Rewrite kerneldoc, rearrange if () statement, edit subject and
  changelog ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/x86/s2idle.c
include/linux/acpi.h