usb: musb: am35x: use module_platform_driver macro
authorSrinivas Kandagatla <srinivas.kandagatla@st.com>
Wed, 10 Oct 2012 18:36:46 +0000 (19:36 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 15 Oct 2012 12:29:23 +0000 (15:29 +0300)
commita0a83eb407ef17dae9a286d86ee2a437f6adb4c2
treea350a5727bd9bd4d0e8e6a84825d64b2e9b3423e
parentddffeb8c4d0331609ef2581d84de4d763607bd37
usb: musb: am35x: use module_platform_driver macro

This patch removes some code duplication by using
module_platform_driver.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/am35x.c