usb: gadget: fsl_udc_core: Use module_platform_driver_probe macro
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 5 Mar 2013 04:12:15 +0000 (09:42 +0530)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:18:00 +0000 (11:18 +0200)
commitd25ab3ece05c7cb740af155ecac87b6b36f16566
tree7d7a5e997a01f23a439fa5d5b4446c9b44e0ef73
parentcd051da2c81c8a86f331b4caa0c135c33d3ea3f6
usb: gadget: fsl_udc_core: Use module_platform_driver_probe macro

module_platform_driver_probe() eliminates the boilerplate and simplifies
the code.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Li Yang <leoli@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/fsl_udc_core.c