1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/platform/x86/hp
Alexis Belmonte f6bd2f633b
platform/x86: hp-wmi: Fix implementation of the platform_profile_omen_get function
Fix ill-formed implementation of the platform_profile_omen_get function
introduced by the commit d234302334 ("platform/x86: hp-wmi: Fix
platform profile option switch bug on Omen and Victus laptops").
platform_profile_omen_get() is .profile_get function that should set
*profile and return 0 on success.

Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Fixes: d234302334 ("platform/x86: hp-wmi: Fix platform profile option switch bug on Omen and Victus laptops")
Signed-off-by: Alexis Belmonte <alexbelm48@gmail.com>
Reviewed-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/ZpFnV8w1558BW7iZ@alexis-pc
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
2024-07-15 12:38:42 +03:00
..
hp-bioscfg platform/x86: hp: hp-bioscfg: Use 2-argument strscpy() 2024-06-03 14:51:36 +03:00
hp-wmi.c platform/x86: hp-wmi: Fix implementation of the platform_profile_omen_get function 2024-07-15 12:38:42 +03:00
hp_accel.c platform/x86: hp: hp_accel: Convert to platform remove callback returning void 2023-03-07 12:20:11 +01:00
Kconfig platform/x86: hp-wmi: Fix platform profile option switch bug on Omen and Victus laptops 2024-07-09 15:16:52 +03:00
Makefile platform/x86: hp-bioscfg: Makefile 2023-07-10 14:41:29 +02:00
tc1100-wmi.c platform/x86: hp: tc1100-wmi: Convert to platform remove callback returning void 2023-03-07 12:20:15 +01:00