platform/x86: alienware-wmi-wmax: Rename thermal related symbols
authorKurt Borja <kuurtb@gmail.com>
Sat, 29 Mar 2025 07:32:18 +0000 (04:32 -0300)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 11 Apr 2025 10:04:35 +0000 (13:04 +0300)
commit8a1a0fb55f8a8e482314d2769a9cac0703016fd4
tree1c478e3c8246508ce0402811e4ca7f65e6407437
parent70081121e24cacbef8b3be849cc13bea31f8a158
platform/x86: alienware-wmi-wmax: Rename thermal related symbols

The "thermal" features of the WMAX WMI device are only present on the
host device if the ACPI _UID is "AWCC". Replace WMAX prefixes with
"AWCC" to reflect this relationship.

Thermal profiles with WMAX_PROFILE_BASIC prefix are also renamed to
WMAX_PROFILE_LEGACY because they are only supported in older versions
of this WMI device.

Finally, shorten enum defines for AWCC operations from WMAX_OPERATION_*
to AWCC_OP_*.

Reviewed-by: Armin Wolf <W_Armin@gmx.de>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Kurt Borja <kuurtb@gmail.com>
Link: https://lore.kernel.org/r/20250329-hwm-v7-1-a14ea39d8a94@gmail.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/dell/alienware-wmi-wmax.c