]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Fix autoloading of MacBook Pro backlight driver.
authorDavid Woodhouse <dwmw2@infradead.org>
Tue, 16 Sep 2008 23:25:24 +0000 (16:25 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 13 Oct 2008 15:05:46 +0000 (16:05 +0100)
Use new MODULE_DEVICE_TABLE(dmi, ...) facility. There's no need for
every driver to screw it up for themselves, when the alias can be
generated automatically.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/video/backlight/mbp_nvidia_bl.c

index 385cba40ea87d4f33e2fe948f973432a8196d14e..06964af761c630295851142dac7690fc1bf11ab5 100644 (file)
@@ -111,6 +111,4 @@ module_exit(mbp_exit);
 MODULE_AUTHOR("Matthew Garrett <mjg@redhat.com>");
 MODULE_DESCRIPTION("Nvidia-based Macbook Pro Backlight Driver");
 MODULE_LICENSE("GPL");
-MODULE_ALIAS("svnAppleInc.:pnMacBookPro3,1");
-MODULE_ALIAS("svnAppleInc.:pnMacBookPro3,2");
-MODULE_ALIAS("svnAppleInc.:pnMacBookPro4,1");
+MODULE_DEVICE_TABLE(dmi, mbp_device_table);