usb: converto drivers/usb/* to use module_platform_driver_probe()
authorFabio Porcedda <fabio.porcedda@gmail.com>
Wed, 9 Jan 2013 11:15:28 +0000 (12:15 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jan 2013 01:39:34 +0000 (17:39 -0800)
commit52f7a82b59ff385da86a3ed17c8d9f6a83531004
tree8ad525a379e0bee72fbcd74739780230b0d49fc6
parent1cb9204cc6e22ec18e62ab0687e2240cbdb15200
usb: converto drivers/usb/* to use module_platform_driver_probe()

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

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Cc: Felipe Balbi <balbi@ti.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Eric Miao <eric.y.miao@gmail.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/at91_udc.c
drivers/usb/gadget/atmel_usba_udc.c
drivers/usb/gadget/fusb300_udc.c
drivers/usb/gadget/imx_udc.c
drivers/usb/gadget/lpc32xx_udc.c
drivers/usb/gadget/m66592-udc.c
drivers/usb/gadget/pxa25x_udc.c
drivers/usb/gadget/r8a66597-udc.c
drivers/usb/otg/gpio_vbus.c
drivers/usb/otg/msm_otg.c