]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: x86: s2idle: Move _HID handling for AMD systems into structures
authorMario Limonciello <mario.limonciello@amd.com>
Wed, 21 Sep 2022 20:40:48 +0000 (15:40 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 25 Sep 2022 15:44:55 +0000 (17:44 +0200)
commit259ca4837910fed2557aa1937995cfde442969de
treecd55d7e71ea7249dfcd298440e2c8e471f390811
parent4cafa54daf5391b21144eec7096a7a8d1cf29e2f
ACPI: x86: s2idle: Move _HID handling for AMD systems into structures

Right now the information about which cases to use for what are in a
comment, but this is error prone.  Instead move all information into
a dedicated structure.

Tested-by: catalin@antebit.com
Reviewed-by: Philipp Zabel <philipp.zabel@gmail.com>
Tested-by: Philipp Zabel <philipp.zabel@gmail.com> # GA402RJ
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/x86/s2idle.c