USB: convert some miscellanies drivers to use module_usb_driver()
commitfe7484834bb614c2c205726647635171ce6cc070
authorGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Nov 2011 17:52:10 +0000 (18 09:52 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Nov 2011 17:52:10 +0000 (18 09:52 -0800)
treee96e560153c2d4a2b2ad1feba6cc4fe09dbb5a29
parent424f0750edd5af866f80f5e65998e0610503cb5c
USB: convert some miscellanies drivers to use module_usb_driver()

This converts the remaining USB drivers in the kernel 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: Guenter Roeck <guenter.roeck@ericsson.com>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Till Harbaum <till@harbaum.org>
Cc: Karsten Keil <isdn@linux-pingi.de>
Cc: Chris Ball <cjb@laptop.org>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Lauro Ramos Venancio <lauro.venancio@openbossa.org>
Cc: Aloisio Almeida Jr <aloisio.almeida@openbossa.org>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Cc: Steve Glendinning <steve.glendinning@smsc.com>
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: Evgeniy Polyakov <zbr@ioremap.net>
Cc: Wim Van Sebroeck <wim@iguana.be>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jesper Juhl <jj@chaosbits.net>
Cc: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Cc: Jamie Iles <jamie@jamieiles.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 files changed:
drivers/i2c/busses/i2c-diolan-u2c.c
drivers/i2c/busses/i2c-tiny-usb.c
drivers/isdn/hardware/mISDN/hfcsusb.c
drivers/mmc/host/ushc.c
drivers/mtd/nand/alauda.c
drivers/nfc/pn533.c
drivers/uwb/hwa-rc.c
drivers/uwb/i1480/dfu/usb.c
drivers/video/smscufx.c
drivers/video/udlfb.c
drivers/w1/masters/ds2490.c
drivers/watchdog/pcwd_usb.c