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)
commit100a5737938049706987d06a4ab73e82b8277085
treecd55d7e71ea7249dfcd298440e2c8e471f390811
parent0efe92b47b9d5e8f31dcb34fd6aff89c7c490ea5
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