Skip to content
Unverified Commit f6bd2f63 authored by Alexis Belmonte's avatar Alexis Belmonte Committed by Ilpo Järvinen
Browse files

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 d2343023 ("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: default avatarDan Carpenter <dan.carpenter@linaro.org>
Fixes: d2343023 ("platform/x86: hp-wmi: Fix platform profile option switch bug on Omen and Victus laptops")
Signed-off-by: default avatarAlexis Belmonte <alexbelm48@gmail.com>
Reviewed-by: default avatarArmin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/ZpFnV8w1558BW7iZ@alexis-pc


Reviewed-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
parent 1e02e317
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment