]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
dell-laptop: switch to using use MODULE_DEVICE_TABLE
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 14 Nov 2011 08:25:00 +0000 (00:25 -0800)
committerMatthew Garrett <mjg@redhat.com>
Tue, 20 Mar 2012 16:02:00 +0000 (12:02 -0400)
Use MODULE_DEVCE_TABLE instead of rolling MODULE_ALIAS by hand.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/dell-laptop.c

index 62d59f13dee7df40b0e4ec85226bde1976730af3..50dac0c9b67090750a58f91ea8cd3f192c27f0b2 100644 (file)
@@ -117,6 +117,7 @@ static const struct dmi_system_id __initdata dell_device_table[] = {
        },
        { }
 };
+MODULE_DEVICE_TABLE(dmi, dell_device_table);
 
 static struct dmi_system_id __devinitdata dell_blacklist[] = {
        /* Supported by compal-laptop */
@@ -792,6 +793,3 @@ module_exit(dell_exit);
 MODULE_AUTHOR("Matthew Garrett <mjg@redhat.com>");
 MODULE_DESCRIPTION("Dell laptop driver");
 MODULE_LICENSE("GPL");
-MODULE_ALIAS("dmi:*svnDellInc.:*:ct8:*");
-MODULE_ALIAS("dmi:*svnDellInc.:*:ct9:*");
-MODULE_ALIAS("dmi:*svnDellComputerCorporation.:*:ct8:*");