usb: musb: omap: use devres API to allocate resources
authorKishon Vijay Abraham I <kishon@ti.com>
Fri, 22 Jun 2012 12:10:54 +0000 (17:40 +0530)
committerFelipe Balbi <balbi@ti.com>
Mon, 25 Jun 2012 11:08:51 +0000 (14:08 +0300)
commitb1183c242a60764afbdfaf39396405b7afa1106c
tree5a155a6c3dfbbf23c48f2b695be58c723785be78
parentc83a8542b5e3c5b30825955a68b1cc8bd24b122a
usb: musb: omap: use devres API to allocate resources

used devres API while allocating memory resource and while getting
usb phy so that these resources are released automatically on driver
detach.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/omap2430.c