Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

platform/x86: asus-armoury: keep the list ordered alphabetically

Model GA403WM appears after GA403WR breaking the alphabetical order:
swap theirs position.

Fixes: f5fc40734b0f ("platform/x86: asus-armoury: add support for GA403WM")
Signed-off-by: Denis Benato <denis.benato@linux.dev>
Link: https://patch.msgid.link/20260116180637.859803-4-denis.benato@linux.dev
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>

authored by

Denis Benato and committed by
Ilpo Järvinen
01f31c2f d40d7f8e

+32 -32
+32 -32
drivers/platform/x86/asus-armoury.h
··· 957 957 }, 958 958 { 959 959 .matches = { 960 - DMI_MATCH(DMI_BOARD_NAME, "GA403WR"), 961 - }, 962 - .driver_data = &(struct power_data) { 963 - .ac_data = &(struct power_limits) { 964 - .ppt_pl1_spl_min = 15, 965 - .ppt_pl1_spl_max = 80, 966 - .ppt_pl2_sppt_min = 25, 967 - .ppt_pl2_sppt_max = 80, 968 - .ppt_pl3_fppt_min = 35, 969 - .ppt_pl3_fppt_max = 80, 970 - .nv_dynamic_boost_min = 0, 971 - .nv_dynamic_boost_max = 25, 972 - .nv_temp_target_min = 75, 973 - .nv_temp_target_max = 87, 974 - .nv_tgp_min = 80, 975 - .nv_tgp_max = 95, 976 - }, 977 - .dc_data = &(struct power_limits) { 978 - .ppt_pl1_spl_min = 15, 979 - .ppt_pl1_spl_max = 35, 980 - .ppt_pl2_sppt_min = 25, 981 - .ppt_pl2_sppt_max = 35, 982 - .ppt_pl3_fppt_min = 35, 983 - .ppt_pl3_fppt_max = 65, 984 - .nv_temp_target_min = 75, 985 - .nv_temp_target_max = 87, 986 - }, 987 - .requires_fan_curve = true, 988 - }, 989 - }, 990 - { 991 - .matches = { 992 960 DMI_MATCH(DMI_BOARD_NAME, "GA403WM"), 993 961 }, 994 962 .driver_data = &(struct power_data) { ··· 973 1005 .nv_temp_target_max = 87, 974 1006 .nv_tgp_min = 55, 975 1007 .nv_tgp_max = 85, 1008 + }, 1009 + .dc_data = &(struct power_limits) { 1010 + .ppt_pl1_spl_min = 15, 1011 + .ppt_pl1_spl_max = 35, 1012 + .ppt_pl2_sppt_min = 25, 1013 + .ppt_pl2_sppt_max = 35, 1014 + .ppt_pl3_fppt_min = 35, 1015 + .ppt_pl3_fppt_max = 65, 1016 + .nv_temp_target_min = 75, 1017 + .nv_temp_target_max = 87, 1018 + }, 1019 + .requires_fan_curve = true, 1020 + }, 1021 + }, 1022 + { 1023 + .matches = { 1024 + DMI_MATCH(DMI_BOARD_NAME, "GA403WR"), 1025 + }, 1026 + .driver_data = &(struct power_data) { 1027 + .ac_data = &(struct power_limits) { 1028 + .ppt_pl1_spl_min = 15, 1029 + .ppt_pl1_spl_max = 80, 1030 + .ppt_pl2_sppt_min = 25, 1031 + .ppt_pl2_sppt_max = 80, 1032 + .ppt_pl3_fppt_min = 35, 1033 + .ppt_pl3_fppt_max = 80, 1034 + .nv_dynamic_boost_min = 0, 1035 + .nv_dynamic_boost_max = 25, 1036 + .nv_temp_target_min = 75, 1037 + .nv_temp_target_max = 87, 1038 + .nv_tgp_min = 80, 1039 + .nv_tgp_max = 95, 976 1040 }, 977 1041 .dc_data = &(struct power_limits) { 978 1042 .ppt_pl1_spl_min = 15,