leds-clevo-mail: Fix Clevo M5x0V DMI strings
PATCH 2/2 leds-clevo-mail: Fix Clevo M5x0V DMI strings
There are more variants of Clevo M5x0V laptops and Positivo Mobile is just one of them. Another one is UMAX VisionBook 2400WXC. Use only generic Clevo DMI strings to match all variants.
Signed-off-by Ondrej Zary <[email protected]>
drivers/leds/leds-clevo-mail.c +1 -2
@@ -59,11 +59,10 @@ static struct dmi_system_id __initdata clevo_mail_led_dmi_table[] = { }, { .callback = clevo_mail_led_dmi_callback, - .ident = "Positivo Mobile", + .ident = "Clevo M5x0V", .matches = {DMI_MATCH (DMI_BOARD_VENDOR ,"CLEVO Co. " ),DMI_MATCH (DMI_BOARD_NAME ,"M5X0V " ), -DMI_MATCH (DMI_PRODUCT_NAME ,"Positivo Mobile" ), DMI_MATCH(DMI_PRODUCT_VERSION, "VT6198") } },
Signature · 1 line
Ondrej Zary
Bryan Wu
AppliedQuoted 4 lines · Ondrej Zary
There are more variants of Clevo M5x0V laptops and Positivo Mobile is just one of them. Another one is UMAX VisionBook 2400WXC. Use only generic Clevo DMI strings to match all variants.
Thanks, applied to my for-next branch
-Bryan
Quoted 23 lines
Signed-off-by Ondrej Zary <[email protected]>drivers/leds/leds-clevo-mail.c +1
-3@@ -59,11 +59,10 @@ static struct dmi_system_id __initdata clevo_mail_led_dmi_table[] = { }, { .callback = clevo_mail_led_dmi_callback, - .ident = "Positivo Mobile", + .ident = "Clevo M5x0V", .matches = {DMI_MATCH (DMI_BOARD_VENDOR ,"CLEVO Co. " ),DMI_MATCH (DMI_BOARD_NAME ,"M5X0V " ), -DMI_MATCH (DMI_PRODUCT_NAME ,"Positivo Mobile" ), DMI_MATCH(DMI_PRODUCT_VERSION, "VT6198") } }, --Ondrej Zary
Signature · 4 lines
Bryan Wu <[email protected]> Kernel Developer +86.186-168-78255 Mobile Canonical Ltd. www.canonical.com Ubuntu - Linux for human beings | www.ubuntu.com