diff options
author | Peter Chen <peter.chen@freescale.com> | 2014-10-14 03:56:13 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-11-03 11:01:05 -0500 |
commit | 01ad32d5b5289b00d03a94dd9f6d975f1314a541 (patch) | |
tree | f27dcc6f5058f009615c9573245b9cc3a1123109 /drivers/usb/phy/phy-tegra-usb.c | |
parent | 87fb3dec36bc1823b810107b69435dc66f763543 (diff) |
usb: phy: phy-tegra-usb: delete unnecessary 'out of memory' messages
The memory subsystem has already had similar message for it.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/phy/phy-tegra-usb.c')
-rw-r--r-- | drivers/usb/phy/phy-tegra-usb.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/usb/phy/phy-tegra-usb.c b/drivers/usb/phy/phy-tegra-usb.c index 886f1807a67b..fa2bfa4ee34e 100644 --- a/drivers/usb/phy/phy-tegra-usb.c +++ b/drivers/usb/phy/phy-tegra-usb.c | |||
@@ -880,11 +880,8 @@ static int utmi_phy_probe(struct tegra_usb_phy *tegra_phy, | |||
880 | 880 | ||
881 | tegra_phy->config = devm_kzalloc(&pdev->dev, sizeof(*config), | 881 | tegra_phy->config = devm_kzalloc(&pdev->dev, sizeof(*config), |
882 | GFP_KERNEL); | 882 | GFP_KERNEL); |
883 | if (!tegra_phy->config) { | 883 | if (!tegra_phy->config) |
884 | dev_err(&pdev->dev, | ||
885 | "unable to allocate memory for USB UTMIP config\n"); | ||
886 | return -ENOMEM; | 884 | return -ENOMEM; |
887 | } | ||
888 | 885 | ||
889 | config = tegra_phy->config; | 886 | config = tegra_phy->config; |
890 | 887 | ||
@@ -979,10 +976,8 @@ static int tegra_usb_phy_probe(struct platform_device *pdev) | |||
979 | int err; | 976 | int err; |
980 | 977 | ||
981 | tegra_phy = devm_kzalloc(&pdev->dev, sizeof(*tegra_phy), GFP_KERNEL); | 978 | tegra_phy = devm_kzalloc(&pdev->dev, sizeof(*tegra_phy), GFP_KERNEL); |
982 | if (!tegra_phy) { | 979 | if (!tegra_phy) |
983 | dev_err(&pdev->dev, "unable to allocate memory for USB2 PHY\n"); | ||
984 | return -ENOMEM; | 980 | return -ENOMEM; |
985 | } | ||
986 | 981 | ||
987 | match = of_match_device(tegra_usb_phy_id_table, &pdev->dev); | 982 | match = of_match_device(tegra_usb_phy_id_table, &pdev->dev); |
988 | if (!match) { | 983 | if (!match) { |