]> git.karo-electronics.de Git - mv-sheeva.git/commit
usb: convert drivers/usb/* to use module_platform_driver()
authorAxel Lin <axel.lin@gmail.com>
Sun, 27 Nov 2011 12:16:27 +0000 (20:16 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Nov 2011 21:48:32 +0000 (06:48 +0900)
commitcc27c96c2bee93068bfc60ea6b09611d88cef429
tree47068da713ecb9f9383b3538831d0d3f3d170460
parentc64391f264b7658c00515173cca58f5b054af1a2
usb: convert drivers/usb/* to use module_platform_driver()

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

Cc: Felipe Balbi <balbi@ti.com>
Cc: Li Yang <leoli@freescale.com>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: Lucas De Marchi <lucas.demarchi@profusion.mobi>
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 files changed:
drivers/usb/c67x00/c67x00-drv.c
drivers/usb/dwc3/dwc3-omap.c
drivers/usb/gadget/fsl_qe_udc.c
drivers/usb/gadget/mv_udc_core.c
drivers/usb/gadget/s3c-hsotg.c
drivers/usb/gadget/s3c-hsudc.c
drivers/usb/host/fhci-hcd.c
drivers/usb/host/fsl-mph-dr-of.c
drivers/usb/host/imx21-hcd.c
drivers/usb/host/oxu210hp-hcd.c
drivers/usb/otg/fsl_otg.c
drivers/usb/renesas_usbhs/common.c