usb: otg: OMAP4430: Fixing the omap4430_phy_init function
authorHema HK <hemahk@ti.com>
Thu, 24 Mar 2011 11:38:42 +0000 (17:08 +0530)
committerFelipe Balbi <balbi@ti.com>
Wed, 18 May 2011 10:39:51 +0000 (13:39 +0300)
commit8cfc67f0740cede2a6aec94b8513285d00c46d5f
tree5bb67d5bed8845c9ae6e80170098de2f513dc168
parenta6d28523dbe6dc5bf3fc6a9078a69de6873c511e
usb: otg: OMAP4430: Fixing the omap4430_phy_init function

omap4430_phy_init() function can be called with no device pointer,
to powerdown the PHY during board init when USB is disabled.
Fix the function accordingly.

Signed-off-by: Hema HK <hemahk@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
arch/arm/mach-omap2/omap_phy_internal.c