diff options
| author | Mark Kuo <mkuo@nvidia.com> | 2016-08-16 21:53:11 -0400 |
|---|---|---|
| committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-08-19 00:04:57 -0400 |
| commit | 6836e8df228a9a7d5e71ef9e5fd60e7d2ebfc77d (patch) | |
| tree | 72943597e980b007099fbccde35cdbbf23314490 /drivers/pinctrl | |
| parent | aece8fa916d7530f1835b942914ef99d3cbc24bb (diff) | |
padctl: t186: remove unnecessary function
A function not used at all is mistakenly merged in
http://git-master/r/1170316. Fix that by removing it.
Bug 200088648
Change-Id: Ie2e6ef933c17623efedbdc58896e2d87ca30734e
Signed-off-by: Mark Kuo <mkuo@nvidia.com>
Reviewed-on: http://git-master/r/1203408
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/pinctrl')
| -rw-r--r-- | drivers/pinctrl/pinctrl-tegra186-padctl.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/drivers/pinctrl/pinctrl-tegra186-padctl.c b/drivers/pinctrl/pinctrl-tegra186-padctl.c index d8c6fe16e..b680ed095 100644 --- a/drivers/pinctrl/pinctrl-tegra186-padctl.c +++ b/drivers/pinctrl/pinctrl-tegra186-padctl.c | |||
| @@ -3388,27 +3388,6 @@ bool tegra_phy_xusb_utmi_pad_secondary_charger_detect(struct phy *phy) | |||
| 3388 | } | 3388 | } |
| 3389 | EXPORT_SYMBOL_GPL(tegra_phy_xusb_utmi_pad_secondary_charger_detect); | 3389 | EXPORT_SYMBOL_GPL(tegra_phy_xusb_utmi_pad_secondary_charger_detect); |
| 3390 | 3390 | ||
| 3391 | int tegra_phy_xusb_phy_to_port(struct phy *phy) | ||
| 3392 | { | ||
| 3393 | struct tegra_padctl *padctl; | ||
| 3394 | int port = -EINVAL; | ||
| 3395 | |||
| 3396 | if (!phy || IS_ERR(phy)) | ||
| 3397 | return port; | ||
| 3398 | |||
| 3399 | padctl = phy_get_drvdata(phy); | ||
| 3400 | |||
| 3401 | if (is_utmi_phy(phy)) | ||
| 3402 | port = utmi_phy_to_port(phy); | ||
| 3403 | else if (is_hsic_phy(phy)) | ||
| 3404 | port = hsic_phy_to_port(phy); | ||
| 3405 | else if (is_usb3_phy(phy)) | ||
| 3406 | port = usb3_phy_to_port(phy); | ||
| 3407 | |||
| 3408 | return port; | ||
| 3409 | } | ||
| 3410 | EXPORT_SYMBOL_GPL(tegra_phy_xusb_phy_to_port); | ||
| 3411 | |||
| 3412 | MODULE_AUTHOR("JC Kuo <jckuo@nvidia.com>"); | 3391 | MODULE_AUTHOR("JC Kuo <jckuo@nvidia.com>"); |
| 3413 | MODULE_DESCRIPTION("Tegra 186 XUSB PADCTL driver"); | 3392 | MODULE_DESCRIPTION("Tegra 186 XUSB PADCTL driver"); |
| 3414 | MODULE_LICENSE("GPL v2"); | 3393 | MODULE_LICENSE("GPL v2"); |
