platform/x86: hp-wmi: Tidy up module source code
authorAlexis Belmonte <alexbelm48@gmail.com>
Thu, 1 Feb 2024 13:29:16 +0000 (14:29 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 6 Feb 2024 09:56:04 +0000 (11:56 +0200)
commit24b10e5f8e0d2bee1a10fc67011ea5d936c1a389
tree8b4993ac742ff818548bb12c635511fbc2fdcdb0
parent6468e64ee380514b331ccb743fa491b23cd8b4dd
platform/x86: hp-wmi: Tidy up module source code

This commit performs four things:

   - fix up the GUID string inconsistency (lower case 'e') from the
     WMI module alias declaration/macro definition

   - separate GUID macros from the embedded controller offset macros

   - rename the description of the module to better represent what it
     actually achieves as a whole

   - add a space right before the '*' pointer qualifier to match the
     other array declarations

This also prepares the terrain for integrating support work for boards
identified as '8BAD', which corresponds to HP's Omen 17 ck2xxx models.

Signed-off-by: Alexis Belmonte <alexbelm48@gmail.com>
Link: https://lore.kernel.org/r/ZbucrKh36sNxeyfX@alexis-pc
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/hp/hp-wmi.c