diff options
| author | Kurt Borja <kuurtb@gmail.com> | 2025-02-07 10:45:59 -0500 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2025-02-10 12:56:15 +0200 |
| commit | 763c16fb149e12247a733e269e62a459b4b3c76d (patch) | |
| tree | e3e7965f78402c638c265299f4e4d458aade0257 /rust/helpers/platform.c | |
| parent | 898a2302d7c7db0fe604326b9c7c484b71b2bb00 (diff) | |
platform/x86: alienware-wmi: Add a state container for thermal control methods
Refactor all thermal control methods to use the newly defined awcc_priv
state container instead of global variables. While at it, rename
create_thermal_profile() to awcc_platform_profile_init() and introduce
alienware_awcc_setup() to set up the "AWCC" WMI device driver data.
Reviewed-by: Armin Wolf <W_Armin@gmx.de>
Signed-off-by: Kurt Borja <kuurtb@gmail.com>
Link: https://lore.kernel.org/r/20250207154610.13675-4-kuurtb@gmail.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions
