diff options
Diffstat (limited to 'drivers/usb/misc/iowarrior.c')
-rw-r--r-- | drivers/usb/misc/iowarrior.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/usb/misc/iowarrior.c b/drivers/usb/misc/iowarrior.c index 81457904d6ba..7676b5b7e171 100644 --- a/drivers/usb/misc/iowarrior.c +++ b/drivers/usb/misc/iowarrior.c | |||
@@ -927,15 +927,4 @@ static struct usb_driver iowarrior_driver = { | |||
927 | .id_table = iowarrior_ids, | 927 | .id_table = iowarrior_ids, |
928 | }; | 928 | }; |
929 | 929 | ||
930 | static int __init iowarrior_init(void) | 930 | module_usb_driver(iowarrior_driver); |
931 | { | ||
932 | return usb_register(&iowarrior_driver); | ||
933 | } | ||
934 | |||
935 | static void __exit iowarrior_exit(void) | ||
936 | { | ||
937 | usb_deregister(&iowarrior_driver); | ||
938 | } | ||
939 | |||
940 | module_init(iowarrior_init); | ||
941 | module_exit(iowarrior_exit); | ||