summaryrefslogtreecommitdiff
path: root/sound/usb/misc
diff options
context:
space:
mode:
Diffstat (limited to 'sound/usb/misc')
-rw-r--r--sound/usb/misc/ua101.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/sound/usb/misc/ua101.c b/sound/usb/misc/ua101.c
index e42805862ce5..8b81cb54026f 100644
--- a/sound/usb/misc/ua101.c
+++ b/sound/usb/misc/ua101.c
@@ -1387,16 +1387,4 @@ static struct usb_driver ua101_driver = {
#endif
};
-static int __init alsa_card_ua101_init(void)
-{
- return usb_register(&ua101_driver);
-}
-
-static void __exit alsa_card_ua101_exit(void)
-{
- usb_deregister(&ua101_driver);
- mutex_destroy(&devices_mutex);
-}
-
-module_init(alsa_card_ua101_init);
-module_exit(alsa_card_ua101_exit);
+module_usb_driver(ua101_driver);