usb: dwc3: omap: move to module_platform_driver
commit68380876d674e8e0a810128971772e38201491ba
authorFelipe Balbi <balbi@ti.com>
Fri, 18 Nov 2011 19:31:14 +0000 (18 21:31 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 12 Dec 2011 09:48:43 +0000 (12 11:48 +0200)
tree49d39cd3f819f21612f8be5228d88848772412d5
parentdf62df56e13d73cb0dd4c54649d4fe13557128f8
usb: dwc3: omap: move to module_platform_driver

the new module_platform_driver macro is a helper
for modules which just register and unregister the
platform_driver. It allows us to delete a few
duplicated lines.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/dwc3-omap.c