summary refs log tree commit diff
path: root/drivers/ptp/ptp_pch.c
diff options
context:
space:
mode:
authorTuomas Tynkkynen <ttynkkynen@nvidia.com>2013-07-25 21:38:02 +0300
committerFelipe Balbi <balbi@ti.com>2013-07-29 13:58:21 +0300
commitde3f233703080bfbbd5861d27660db7a2e476238 (patch)
tree3698cd25b41abc4a78924e6014b7b19b2a5f1c5e /drivers/ptp/ptp_pch.c
parent185d0fd570c121c0c3d4527842a097e50e3e7a79 (diff)
downloadlinux-de3f233703080bfbbd5861d27660db7a2e476238.tar.gz
usb: host: tegra: Remove leftover code
ehci-tegra calls devm_usb_get_phy, which will never succeed since the Tegra
PHY does not register itself with the PHY subsystem. It is also completely
redundant since the code has already located a PHY via an internal API.

Call otg_set_host unconditionally to simplify the code since it should
be safe to do so.

Signed-off-by: Tuomas Tynkkynen <ttynkkynen@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/ptp/ptp_pch.c')
0 files changed, 0 insertions, 0 deletions