Skip to content

Commit

Permalink
asus-nb-wmi.c: Rename x401u quirk to wapf4
Browse files Browse the repository at this point in the history
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: Hans de Goede <[email protected]>
Signed-off-by: Matthew Garrett <[email protected]>
  • Loading branch information
jwrdegoede authored and Matthew Garrett committed Aug 16, 2014
1 parent 9a5ee65 commit 378008d
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions drivers/platform/x86/asus-nb-wmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ static struct quirk_entry quirk_asus_x55u = {
.no_display_toggle = true,
};

static struct quirk_entry quirk_asus_x401u = {
static struct quirk_entry quirk_asus_wapf4 = {
.wapf = 4,
};

Expand Down Expand Up @@ -101,7 +101,7 @@ static const struct dmi_system_id asus_quirks[] = {
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
DMI_MATCH(DMI_PRODUCT_NAME, "X401A"),
},
.driver_data = &quirk_asus_x401u,
.driver_data = &quirk_asus_wapf4,
},
{
.callback = dmi_matched,
Expand All @@ -110,7 +110,7 @@ static const struct dmi_system_id asus_quirks[] = {
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
DMI_MATCH(DMI_PRODUCT_NAME, "X401A1"),
},
.driver_data = &quirk_asus_x401u,
.driver_data = &quirk_asus_wapf4,
},
{
.callback = dmi_matched,
Expand All @@ -128,7 +128,7 @@ static const struct dmi_system_id asus_quirks[] = {
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
DMI_MATCH(DMI_PRODUCT_NAME, "X501A"),
},
.driver_data = &quirk_asus_x401u,
.driver_data = &quirk_asus_wapf4,
},
{
.callback = dmi_matched,
Expand All @@ -137,7 +137,7 @@ static const struct dmi_system_id asus_quirks[] = {
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
DMI_MATCH(DMI_PRODUCT_NAME, "X501A1"),
},
.driver_data = &quirk_asus_x401u,
.driver_data = &quirk_asus_wapf4,
},
{
.callback = dmi_matched,
Expand All @@ -146,7 +146,7 @@ static const struct dmi_system_id asus_quirks[] = {
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
DMI_MATCH(DMI_PRODUCT_NAME, "X550CA"),
},
.driver_data = &quirk_asus_x401u,
.driver_data = &quirk_asus_wapf4,
},
{
.callback = dmi_matched,
Expand All @@ -173,7 +173,7 @@ static const struct dmi_system_id asus_quirks[] = {
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
DMI_MATCH(DMI_PRODUCT_NAME, "X55A"),
},
.driver_data = &quirk_asus_x401u,
.driver_data = &quirk_asus_wapf4,
},
{
.callback = dmi_matched,
Expand All @@ -182,7 +182,7 @@ static const struct dmi_system_id asus_quirks[] = {
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
DMI_MATCH(DMI_PRODUCT_NAME, "X55C"),
},
.driver_data = &quirk_asus_x401u,
.driver_data = &quirk_asus_wapf4,
},
{
.callback = dmi_matched,
Expand All @@ -200,7 +200,7 @@ static const struct dmi_system_id asus_quirks[] = {
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
DMI_MATCH(DMI_PRODUCT_NAME, "X55VD"),
},
.driver_data = &quirk_asus_x401u,
.driver_data = &quirk_asus_wapf4,
},
{
.callback = dmi_matched,
Expand All @@ -209,7 +209,7 @@ static const struct dmi_system_id asus_quirks[] = {
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
DMI_MATCH(DMI_PRODUCT_NAME, "X75A"),
},
.driver_data = &quirk_asus_x401u,
.driver_data = &quirk_asus_wapf4,
},
{
.callback = dmi_matched,
Expand All @@ -218,7 +218,7 @@ static const struct dmi_system_id asus_quirks[] = {
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
DMI_MATCH(DMI_PRODUCT_NAME, "X75VBP"),
},
.driver_data = &quirk_asus_x401u,
.driver_data = &quirk_asus_wapf4,
},
{
.callback = dmi_matched,
Expand All @@ -227,7 +227,7 @@ static const struct dmi_system_id asus_quirks[] = {
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
DMI_MATCH(DMI_PRODUCT_NAME, "1015E"),
},
.driver_data = &quirk_asus_x401u,
.driver_data = &quirk_asus_wapf4,
},
{
.callback = dmi_matched,
Expand All @@ -236,7 +236,7 @@ static const struct dmi_system_id asus_quirks[] = {
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
DMI_MATCH(DMI_PRODUCT_NAME, "1015U"),
},
.driver_data = &quirk_asus_x401u,
.driver_data = &quirk_asus_wapf4,
},
{
.callback = dmi_matched,
Expand Down

0 comments on commit 378008d

Please sign in to comment.