Commit 378008df authored by Hans de Goede's avatar Hans de Goede Committed by Matthew Garrett

asus-nb-wmi.c: Rename x401u quirk to wapf4

The actual x401u does not use the so named x401u quirk but the x55u quirk.
All that the x401u quirk does it setting wapf to 4, so rename it to wapf4 to
stop the confusion.
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarMatthew Garrett <matthew.garrett@nebula.com>
parent 9a5ee655
...@@ -70,7 +70,7 @@ static struct quirk_entry quirk_asus_x55u = { ...@@ -70,7 +70,7 @@ static struct quirk_entry quirk_asus_x55u = {
.no_display_toggle = true, .no_display_toggle = true,
}; };
static struct quirk_entry quirk_asus_x401u = { static struct quirk_entry quirk_asus_wapf4 = {
.wapf = 4, .wapf = 4,
}; };
...@@ -101,7 +101,7 @@ static const struct dmi_system_id asus_quirks[] = { ...@@ -101,7 +101,7 @@ static const struct dmi_system_id asus_quirks[] = {
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
DMI_MATCH(DMI_PRODUCT_NAME, "X401A"), DMI_MATCH(DMI_PRODUCT_NAME, "X401A"),
}, },
.driver_data = &quirk_asus_x401u, .driver_data = &quirk_asus_wapf4,
}, },
{ {
.callback = dmi_matched, .callback = dmi_matched,
...@@ -110,7 +110,7 @@ static const struct dmi_system_id asus_quirks[] = { ...@@ -110,7 +110,7 @@ static const struct dmi_system_id asus_quirks[] = {
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
DMI_MATCH(DMI_PRODUCT_NAME, "X401A1"), DMI_MATCH(DMI_PRODUCT_NAME, "X401A1"),
}, },
.driver_data = &quirk_asus_x401u, .driver_data = &quirk_asus_wapf4,
}, },
{ {
.callback = dmi_matched, .callback = dmi_matched,
...@@ -128,7 +128,7 @@ static const struct dmi_system_id asus_quirks[] = { ...@@ -128,7 +128,7 @@ static const struct dmi_system_id asus_quirks[] = {
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
DMI_MATCH(DMI_PRODUCT_NAME, "X501A"), DMI_MATCH(DMI_PRODUCT_NAME, "X501A"),
}, },
.driver_data = &quirk_asus_x401u, .driver_data = &quirk_asus_wapf4,
}, },
{ {
.callback = dmi_matched, .callback = dmi_matched,
...@@ -137,7 +137,7 @@ static const struct dmi_system_id asus_quirks[] = { ...@@ -137,7 +137,7 @@ static const struct dmi_system_id asus_quirks[] = {
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
DMI_MATCH(DMI_PRODUCT_NAME, "X501A1"), DMI_MATCH(DMI_PRODUCT_NAME, "X501A1"),
}, },
.driver_data = &quirk_asus_x401u, .driver_data = &quirk_asus_wapf4,
}, },
{ {
.callback = dmi_matched, .callback = dmi_matched,
...@@ -146,7 +146,7 @@ static const struct dmi_system_id asus_quirks[] = { ...@@ -146,7 +146,7 @@ static const struct dmi_system_id asus_quirks[] = {
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
DMI_MATCH(DMI_PRODUCT_NAME, "X550CA"), DMI_MATCH(DMI_PRODUCT_NAME, "X550CA"),
}, },
.driver_data = &quirk_asus_x401u, .driver_data = &quirk_asus_wapf4,
}, },
{ {
.callback = dmi_matched, .callback = dmi_matched,
...@@ -173,7 +173,7 @@ static const struct dmi_system_id asus_quirks[] = { ...@@ -173,7 +173,7 @@ static const struct dmi_system_id asus_quirks[] = {
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
DMI_MATCH(DMI_PRODUCT_NAME, "X55A"), DMI_MATCH(DMI_PRODUCT_NAME, "X55A"),
}, },
.driver_data = &quirk_asus_x401u, .driver_data = &quirk_asus_wapf4,
}, },
{ {
.callback = dmi_matched, .callback = dmi_matched,
...@@ -182,7 +182,7 @@ static const struct dmi_system_id asus_quirks[] = { ...@@ -182,7 +182,7 @@ static const struct dmi_system_id asus_quirks[] = {
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
DMI_MATCH(DMI_PRODUCT_NAME, "X55C"), DMI_MATCH(DMI_PRODUCT_NAME, "X55C"),
}, },
.driver_data = &quirk_asus_x401u, .driver_data = &quirk_asus_wapf4,
}, },
{ {
.callback = dmi_matched, .callback = dmi_matched,
...@@ -200,7 +200,7 @@ static const struct dmi_system_id asus_quirks[] = { ...@@ -200,7 +200,7 @@ static const struct dmi_system_id asus_quirks[] = {
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
DMI_MATCH(DMI_PRODUCT_NAME, "X55VD"), DMI_MATCH(DMI_PRODUCT_NAME, "X55VD"),
}, },
.driver_data = &quirk_asus_x401u, .driver_data = &quirk_asus_wapf4,
}, },
{ {
.callback = dmi_matched, .callback = dmi_matched,
...@@ -209,7 +209,7 @@ static const struct dmi_system_id asus_quirks[] = { ...@@ -209,7 +209,7 @@ static const struct dmi_system_id asus_quirks[] = {
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
DMI_MATCH(DMI_PRODUCT_NAME, "X75A"), DMI_MATCH(DMI_PRODUCT_NAME, "X75A"),
}, },
.driver_data = &quirk_asus_x401u, .driver_data = &quirk_asus_wapf4,
}, },
{ {
.callback = dmi_matched, .callback = dmi_matched,
...@@ -218,7 +218,7 @@ static const struct dmi_system_id asus_quirks[] = { ...@@ -218,7 +218,7 @@ static const struct dmi_system_id asus_quirks[] = {
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
DMI_MATCH(DMI_PRODUCT_NAME, "X75VBP"), DMI_MATCH(DMI_PRODUCT_NAME, "X75VBP"),
}, },
.driver_data = &quirk_asus_x401u, .driver_data = &quirk_asus_wapf4,
}, },
{ {
.callback = dmi_matched, .callback = dmi_matched,
...@@ -227,7 +227,7 @@ static const struct dmi_system_id asus_quirks[] = { ...@@ -227,7 +227,7 @@ static const struct dmi_system_id asus_quirks[] = {
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
DMI_MATCH(DMI_PRODUCT_NAME, "1015E"), DMI_MATCH(DMI_PRODUCT_NAME, "1015E"),
}, },
.driver_data = &quirk_asus_x401u, .driver_data = &quirk_asus_wapf4,
}, },
{ {
.callback = dmi_matched, .callback = dmi_matched,
...@@ -236,7 +236,7 @@ static const struct dmi_system_id asus_quirks[] = { ...@@ -236,7 +236,7 @@ static const struct dmi_system_id asus_quirks[] = {
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
DMI_MATCH(DMI_PRODUCT_NAME, "1015U"), DMI_MATCH(DMI_PRODUCT_NAME, "1015U"),
}, },
.driver_data = &quirk_asus_x401u, .driver_data = &quirk_asus_wapf4,
}, },
{ {
.callback = dmi_matched, .callback = dmi_matched,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment