usb: musb: make modules behave better
authorFelipe Balbi <balbi@ti.com>
Thu, 26 Jan 2012 10:40:23 +0000 (12:40 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 31 Jan 2012 12:18:26 +0000 (14:18 +0200)
commite9e8c85e69310141d78daaecd6a56138700ac317
treeb778093675b5e115fc3289385ea323225fe66887
parentf557978745bbea2e7305588d33aac60f4dd42447
usb: musb: make modules behave better

There's really no point in doing all that
initcall trickery when we can safely let
udev handle module probing for us.

Remove all of that trickery, by moving everybody
to module_init() and making proper use of
platform_device_register() rather than
platform_device_probe().

Tested-by: Rajashekhara, Sudhakar <sudhakar.raj@ti.com>
Tested-by: Tasslehoff Kjappfot <tasskjapp@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/am35x.c
drivers/usb/musb/blackfin.c
drivers/usb/musb/da8xx.c
drivers/usb/musb/davinci.c
drivers/usb/musb/musb_core.c
drivers/usb/musb/musb_debugfs.c
drivers/usb/musb/musb_gadget.c
drivers/usb/musb/omap2430.c
drivers/usb/musb/tusb6010.c
drivers/usb/musb/ux500.c