diff options
Diffstat (limited to 'drivers/input/mouse')
-rw-r--r-- | drivers/input/mouse/appletouch.c | 13 | ||||
-rw-r--r-- | drivers/input/mouse/bcm5974.c | 14 |
2 files changed, 2 insertions, 25 deletions
diff --git a/drivers/input/mouse/appletouch.c b/drivers/input/mouse/appletouch.c index b77f9991278e..0acbc7d50d05 100644 --- a/drivers/input/mouse/appletouch.c +++ b/drivers/input/mouse/appletouch.c | |||
@@ -938,15 +938,4 @@ static struct usb_driver atp_driver = { | |||
938 | .id_table = atp_table, | 938 | .id_table = atp_table, |
939 | }; | 939 | }; |
940 | 940 | ||
941 | static int __init atp_init(void) | 941 | module_usb_driver(atp_driver); |
942 | { | ||
943 | return usb_register(&atp_driver); | ||
944 | } | ||
945 | |||
946 | static void __exit atp_exit(void) | ||
947 | { | ||
948 | usb_deregister(&atp_driver); | ||
949 | } | ||
950 | |||
951 | module_init(atp_init); | ||
952 | module_exit(atp_exit); | ||
diff --git a/drivers/input/mouse/bcm5974.c b/drivers/input/mouse/bcm5974.c index 5ec617e28f7e..cf87f8b18e34 100644 --- a/drivers/input/mouse/bcm5974.c +++ b/drivers/input/mouse/bcm5974.c | |||
@@ -940,16 +940,4 @@ static struct usb_driver bcm5974_driver = { | |||
940 | .supports_autosuspend = 1, | 940 | .supports_autosuspend = 1, |
941 | }; | 941 | }; |
942 | 942 | ||
943 | static int __init bcm5974_init(void) | 943 | module_usb_driver(bcm5974_driver); |
944 | { | ||
945 | return usb_register(&bcm5974_driver); | ||
946 | } | ||
947 | |||
948 | static void __exit bcm5974_exit(void) | ||
949 | { | ||
950 | usb_deregister(&bcm5974_driver); | ||
951 | } | ||
952 | |||
953 | module_init(bcm5974_init); | ||
954 | module_exit(bcm5974_exit); | ||
955 | |||