]> git.karo-electronics.de Git - linux-beck.git/commitdiff
leds-clevo-mail: Fix Clevo M5x0V DMI strings
authorOndrej Zary <linux@rainbow-software.org>
Wed, 1 Aug 2012 21:04:56 +0000 (05:04 +0800)
committerBryan Wu <bryan.wu@canonical.com>
Tue, 11 Sep 2012 10:32:40 +0000 (18:32 +0800)
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 <linux@rainbow-software.org>
Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
drivers/leds/leds-clevo-mail.c

index 73eed7ef2a506d34633672bc7527524525ed1da5..e024b0b1c3b1e11fbae8dc6de27006d1cb1bc0b6 100644 (file)
@@ -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")
                }
        },