USB: convert drivers/staging/* to use module_usb_driver()
commitbac2c126e452eb00f91305ba2c04a8b2bd95acf0
authorGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Nov 2011 17:42:11 +0000 (18 09:42 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Nov 2011 17:42:11 +0000 (18 09:42 -0800)
tree14e2c93ad911e8e303251d206fd83e5f0d103ca1
parent65db43054065790a75291b0834657445fea2cf56
USB: convert drivers/staging/* to use module_usb_driver()

This converts the drivers in drivers/staging/* 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: "David Täht" <d@teklibre.com>
Cc: Marek Belisko <marek.belisko@gmail.com>
Cc: Al Cho <acho@novell.com>
Cc: Forest Bond <forest@alittletooquiet.net>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Huajun Li <huajun.li.lee@gmail.com>
Cc: Zac Storer <zac.3.14159@gmail.com>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: edwin_rong <edwin_rong@realsil.com.cn>
Cc: Ben Hutchings <ben@decadent.org.uk>
Cc: Julia Lawall <julia@diku.dk>
Cc: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: Joe Perches <joe@perches.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: "John W. Linville" <linville@tuxdriver.com>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 files changed:
drivers/staging/frontier/alphatrack.c
drivers/staging/frontier/tranzport.c
drivers/staging/ft1000/ft1000-usb/ft1000_usb.c
drivers/staging/keucr/usb.c
drivers/staging/media/go7007/go7007-usb.c
drivers/staging/media/lirc/lirc_igorplugusb.c
drivers/staging/media/lirc/lirc_imon.c
drivers/staging/media/lirc/lirc_sasem.c
drivers/staging/media/lirc/lirc_ttusbir.c
drivers/staging/rts5139/rts51x.c
drivers/staging/vt6656/main_usb.c
drivers/staging/winbond/wbusb.c
drivers/staging/wlan-ng/prism2usb.c