public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/2] leds-clevo-mail: Fix Clevo M5x0V DMI strings
@ 2012-08-01 21:04 Ondrej Zary
  2012-08-02  3:46 ` Bryan Wu
  0 siblings, 1 reply; 2+ messages in thread
From: Ondrej Zary @ 2012-08-01 21:04 UTC (permalink / raw)
  To: Márton Németh
  Cc: Bryan Wu, Richard Purdie, linux-leds, Kernel development list

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>

--- a/drivers/leds/leds-clevo-mail.c
+++ b/drivers/leds/leds-clevo-mail.c
@@ -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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 2/2] leds-clevo-mail: Fix Clevo M5x0V DMI strings
  2012-08-01 21:04 [PATCH 2/2] leds-clevo-mail: Fix Clevo M5x0V DMI strings Ondrej Zary
@ 2012-08-02  3:46 ` Bryan Wu
  0 siblings, 0 replies; 2+ messages in thread
From: Bryan Wu @ 2012-08-02  3:46 UTC (permalink / raw)
  To: Ondrej Zary
  Cc: Márton Németh, Richard Purdie, linux-leds,
	Kernel development list

On Thu, Aug 2, 2012 at 5:04 AM, Ondrej Zary <linux@rainbow-software.org> wrote:
> 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

> Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
>
> --- a/drivers/leds/leds-clevo-mail.c
> +++ b/drivers/leds/leds-clevo-mail.c
> @@ -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



-- 
Bryan Wu <bryan.wu@canonical.com>
Kernel Developer    +86.186-168-78255 Mobile
Canonical Ltd.      www.canonical.com
Ubuntu - Linux for human beings | www.ubuntu.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-08-02  3:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-01 21:04 [PATCH 2/2] leds-clevo-mail: Fix Clevo M5x0V DMI strings Ondrej Zary
2012-08-02  3:46 ` Bryan Wu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox