diff options
Diffstat (limited to 'drivers/usb/misc/isight_firmware.c')
-rw-r--r-- | drivers/usb/misc/isight_firmware.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/usb/misc/isight_firmware.c b/drivers/usb/misc/isight_firmware.c index fe1d44319d0a..1dc7e9581cc6 100644 --- a/drivers/usb/misc/isight_firmware.c +++ b/drivers/usb/misc/isight_firmware.c | |||
@@ -126,18 +126,7 @@ static struct usb_driver isight_firmware_driver = { | |||
126 | .id_table = id_table, | 126 | .id_table = id_table, |
127 | }; | 127 | }; |
128 | 128 | ||
129 | static int __init isight_firmware_init(void) | 129 | module_usb_driver(isight_firmware_driver); |
130 | { | ||
131 | return usb_register(&isight_firmware_driver); | ||
132 | } | ||
133 | |||
134 | static void __exit isight_firmware_exit(void) | ||
135 | { | ||
136 | usb_deregister(&isight_firmware_driver); | ||
137 | } | ||
138 | |||
139 | module_init(isight_firmware_init); | ||
140 | module_exit(isight_firmware_exit); | ||
141 | 130 | ||
142 | MODULE_LICENSE("GPL"); | 131 | MODULE_LICENSE("GPL"); |
143 | MODULE_AUTHOR("Matthew Garrett <mjg@redhat.com>"); | 132 | MODULE_AUTHOR("Matthew Garrett <mjg@redhat.com>"); |