summaryrefslogtreecommitdiffstats
path: root/drivers/video/backlight/mbp_nvidia_bl.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2008-09-17 01:25:24 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-10-13 17:05:46 +0200
commit239cfbde1f5843c4a24199f117d5f67f637d72d5 (patch)
tree60141fd81046a3b8d93dcbea1896d8b76b418252 /drivers/video/backlight/mbp_nvidia_bl.c
parentAutomatic MODULE_ALIAS() for DMI match tables. (diff)
downloadlinux-239cfbde1f5843c4a24199f117d5f67f637d72d5.tar.xz
linux-239cfbde1f5843c4a24199f117d5f67f637d72d5.zip
Fix autoloading of MacBook Pro backlight driver.
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>
Diffstat (limited to 'drivers/video/backlight/mbp_nvidia_bl.c')
-rw-r--r--drivers/video/backlight/mbp_nvidia_bl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/video/backlight/mbp_nvidia_bl.c b/drivers/video/backlight/mbp_nvidia_bl.c
index 385cba40ea87..06964af761c6 100644
--- a/drivers/video/backlight/mbp_nvidia_bl.c
+++ b/drivers/video/backlight/mbp_nvidia_bl.c
@@ -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);