From: Venu Byravarasu Date: Thu, 24 Jan 2013 10:27:03 +0000 (+0530) Subject: usb: host: tegra: make use of PHY pointer of HCD X-Git-Tag: v3.9-rc1~118^2~14^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab137d04db5a4b32250ce5ef1b288ce6cf06adf6;p=pandora-kernel.git usb: host: tegra: make use of PHY pointer of HCD As pointer to PHY structure can be stored in struct usb_hcd making use of it, to call Tegra PHY APIs. Call to usb_phy_shutdown() is moved up in tegra_ehci_remove(), so that to avoid dereferencing of hcd after its freed up. Signed-off-by: Venu Byravarasu Acked-by: Alan Stern Acked-by: Felipe Balbi Acked-by: Greg Kroah-Hartman Signed-off-by: Stephen Warren --- Reading git-diff-tree failed