usb: musb: use platform_device_register_full() to avoid directly messing with dma...
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 19 Sep 2013 23:14:38 +0000 (00:14 +0100)
committerFelipe Balbi <balbi@ti.com>
Tue, 1 Oct 2013 14:31:19 +0000 (09:31 -0500)
commitaf3848757204a16670d7da94f72beb45564955cc
tree610a8cf402a97addcadea54b19abd4e52ea7c4d7
parentd1d7e3f537d3cddc79f51c2f0285991446fb6837
usb: musb: use platform_device_register_full() to avoid directly messing with dma masks

Use platform_device_register_full() for those drivers which can, to
avoid messing directly with DMA masks.  This can only be done when
the driver does not need to access the allocated musb platform device
from within its callbacks, which may be called during the musb
device probing.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/am35x.c
drivers/usb/musb/da8xx.c
drivers/usb/musb/davinci.c
drivers/usb/musb/tusb6010.c