USB: convert drivers/hid/* to use module_usb_driver()
authorGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Nov 2011 17:49:34 +0000 (09:49 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Nov 2011 17:49:34 +0000 (09:49 -0800)
commit42f06a13445bffae96c5e42fdd721ef65fed6abf
treecd0844fdf0cb755b59a9d30a7216d829114a1f81
parent08642e7c52cf43616821520828e504bc717e54a6
USB: convert drivers/hid/* to use module_usb_driver()

This converts the drivers in drivers/hid/* to use the
module_usb_driver() macro which makes the code smaller and a bit
simpler.

Added bonus is that it removes some unneeded kernel log messages about
drivers loading and/or unloading.

Cc: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hid/usbhid/usbkbd.c
drivers/hid/usbhid/usbmouse.c