diff options
author | Venu Byravarasu <vbyravarasu@nvidia.com> | 2013-01-15 05:19:30 -0500 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2013-01-28 13:20:05 -0500 |
commit | 5e18150a7b4139e15e1ed7d7c938dd91f7f12354 (patch) | |
tree | 6f1254775a4b83ca2b4f06cf5ec7bf814de1af38 | |
parent | 585355c5b54e2ecdcd6463aec264d907bc416727 (diff) |
usb: phy: remove unused APIs from Tegra PHY.
As tegra_usb_phy_clk_disable/enable() are not being
used, removing them.
Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
-rw-r--r-- | drivers/usb/phy/tegra_usb_phy.c | 13 | ||||
-rw-r--r-- | include/linux/usb/tegra_usb_phy.h | 4 |
2 files changed, 0 insertions, 17 deletions
diff --git a/drivers/usb/phy/tegra_usb_phy.c b/drivers/usb/phy/tegra_usb_phy.c index 2d3cae9a785d..3059384326b6 100644 --- a/drivers/usb/phy/tegra_usb_phy.c +++ b/drivers/usb/phy/tegra_usb_phy.c | |||
@@ -825,16 +825,3 @@ void tegra_ehci_phy_restore_end(struct tegra_usb_phy *phy) | |||
825 | } | 825 | } |
826 | EXPORT_SYMBOL_GPL(tegra_ehci_phy_restore_end); | 826 | EXPORT_SYMBOL_GPL(tegra_ehci_phy_restore_end); |
827 | 827 | ||
828 | void tegra_usb_phy_clk_disable(struct tegra_usb_phy *phy) | ||
829 | { | ||
830 | if (!phy_is_ulpi(phy)) | ||
831 | utmi_phy_clk_disable(phy); | ||
832 | } | ||
833 | EXPORT_SYMBOL_GPL(tegra_usb_phy_clk_disable); | ||
834 | |||
835 | void tegra_usb_phy_clk_enable(struct tegra_usb_phy *phy) | ||
836 | { | ||
837 | if (!phy_is_ulpi(phy)) | ||
838 | utmi_phy_clk_enable(phy); | ||
839 | } | ||
840 | EXPORT_SYMBOL_GPL(tegra_usb_phy_clk_enable); | ||
diff --git a/include/linux/usb/tegra_usb_phy.h b/include/linux/usb/tegra_usb_phy.h index 176b1ca06ae4..34e6355a15e3 100644 --- a/include/linux/usb/tegra_usb_phy.h +++ b/include/linux/usb/tegra_usb_phy.h | |||
@@ -64,10 +64,6 @@ struct tegra_usb_phy { | |||
64 | struct tegra_usb_phy *tegra_usb_phy_open(struct device *dev, int instance, | 64 | struct tegra_usb_phy *tegra_usb_phy_open(struct device *dev, int instance, |
65 | void __iomem *regs, void *config, enum tegra_usb_phy_mode phy_mode); | 65 | void __iomem *regs, void *config, enum tegra_usb_phy_mode phy_mode); |
66 | 66 | ||
67 | void tegra_usb_phy_clk_disable(struct tegra_usb_phy *phy); | ||
68 | |||
69 | void tegra_usb_phy_clk_enable(struct tegra_usb_phy *phy); | ||
70 | |||
71 | void tegra_usb_phy_preresume(struct tegra_usb_phy *phy); | 67 | void tegra_usb_phy_preresume(struct tegra_usb_phy *phy); |
72 | 68 | ||
73 | void tegra_usb_phy_postresume(struct tegra_usb_phy *phy); | 69 | void tegra_usb_phy_postresume(struct tegra_usb_phy *phy); |