diff options
author | Pratik Vishwakarma <Pratik.Vishwakarma@amd.com> | 2021-06-17 11:42:09 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-06-18 18:39:54 +0200 |
commit | 4a012dc82d504f9b6a9654e4a28d1938c9a6cb2f (patch) | |
tree | c21b6293590a3ae2b26369533f4b39ecc89a2d06 /drivers/acpi/cppc_acpi.c | |
parent | 904d4a6c074b9d69b673c7cd7d66f55cfa7610ea (diff) |
ACPI: PM: s2idle: Refactor common code
Refactor common code to prepare for upcoming changes.
* Remove unused struct.
* Print error before returning.
* Frees ACPI obj if _DSM type is not as expected.
* Treat lps0_dsm_func_mask as an integer rather than character
* Remove extra out_obj
* Move rev_id
Co-developed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Pratik Vishwakarma <Pratik.Vishwakarma@amd.com>
Tested-by: Julian Sikorski <belegdol@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions