summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/msi-ec.h
diff options
context:
space:
mode:
authorNikita Kravets <teackot@gmail.com>2023-10-06 20:53:55 +0300
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2023-10-09 14:30:11 +0300
commitff54dc31fbee363f3bbae85b99b1390dc02ce062 (patch)
tree089d738d09fc467b021f8b7262a8c3743d8a55f5 /drivers/platform/x86/msi-ec.h
parent378f2b618fedc9e2f57755438e8f080fde3ccc90 (diff)
downloadlinux-stable-ff54dc31fbee363f3bbae85b99b1390dc02ce062.tar.gz
linux-stable-ff54dc31fbee363f3bbae85b99b1390dc02ce062.tar.bz2
linux-stable-ff54dc31fbee363f3bbae85b99b1390dc02ce062.zip
platform/x86: msi-ec: rename fn_super_swap
This patch renames fn_super_swap to fn_win_swap for consistency with the downstream version of the driver. Renaming the field to fn_super_swap in the downstream driver would require modifying several branches that are yet to be merged into the main branch, so I decided to do it here instead. Cc: Aakash Singh <mail@singhaakash.dev> Cc: Jose Angel Pastrana <japp0005@red.ujaen.es> Signed-off-by: Nikita Kravets <teackot@gmail.com> Link: https://lore.kernel.org/r/20231006175352.1753017-7-teackot@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 'drivers/platform/x86/msi-ec.h')
-rw-r--r--drivers/platform/x86/msi-ec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/platform/x86/msi-ec.h b/drivers/platform/x86/msi-ec.h
index be3533dc9cc6..086351217505 100644
--- a/drivers/platform/x86/msi-ec.h
+++ b/drivers/platform/x86/msi-ec.h
@@ -40,7 +40,7 @@ struct msi_ec_webcam_conf {
int bit;
};
-struct msi_ec_fn_super_swap_conf {
+struct msi_ec_fn_win_swap_conf {
int address;
int bit;
};
@@ -108,7 +108,7 @@ struct msi_ec_conf {
struct msi_ec_charge_control_conf charge_control;
struct msi_ec_webcam_conf webcam;
- struct msi_ec_fn_super_swap_conf fn_super_swap;
+ struct msi_ec_fn_win_swap_conf fn_win_swap;
struct msi_ec_cooler_boost_conf cooler_boost;
struct msi_ec_shift_mode_conf shift_mode;
struct msi_ec_super_battery_conf super_battery;