Greg Kroah-Hartman
fe7484834b
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 >
2011-11-18 09:52:10 -08:00
Jesper Juhl
021cb59ae3
mmc: ushc: Remove duplicate include of usb.h
...
Including usb.h once is enough in drivers/mmc/host/ushc.c
This removes the duplicate.
Signed-off-by: Jesper Juhl <jj@chaosbits.net >
Signed-off-by: Chris Ball <cjb@laptop.org >
2011-01-25 21:53:43 -05:00
Axel Lin
14d4031d21
mmc: ushc: Return proper error code for ushc_probe()
...
Improves error handling in the ushc driver.
Signed-off-by: Axel Lin <axel.lin@gmail.com >
Acked-by: David Vrabel <david.vrabel@csr.com >
Signed-off-by: Chris Ball <cjb@laptop.org >
2010-11-07 16:45:11 -05:00
David Vrabel
53f3a9e26e
mmc: USB SD Host Controller (USHC) driver
...
Add a driver for USB SD Host Controller devices. These devices are
Cypress Astoria chips with firmware compliant with issue 2 of CSR's USHC
specification.
[cjb: adapt to block layer deprecation of max_{hw,phys}_segs]
Signed-off-by: David Vrabel <david.vrabel@csr.com >
Signed-off-by: Chris Ball <cjb@laptop.org >
2010-10-23 21:11:11 +08:00