Skip to content

Commit

Permalink
Fix autoloading of MacBook Pro backlight driver.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Oct 13, 2008
1 parent d945b69 commit 239cfbd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/video/backlight/mbp_nvidia_bl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit 239cfbd

Please sign in to comment.