diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2017-01-22 13:17:49 -0800 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2017-01-27 13:06:53 +0530 |
commit | 42020c70656f9966e9ed83f9fe67369b0abf75e8 (patch) | |
tree | eeb590466f3250cda48df83bbfeb23604ee3caf7 /drivers/phy/phy-qcom-ufs-qmp-20nm.c | |
parent | 96c163f108ef7c0102ff71a543f5d5f2ad5c60a7 (diff) | |
download | talos-op-linux-42020c70656f9966e9ed83f9fe67369b0abf75e8.tar.gz talos-op-linux-42020c70656f9966e9ed83f9fe67369b0abf75e8.zip |
phy: qcom-ufs: Suppress extraneous logging
The error paths of the common qcom-ufs functions for registering the
phy, acquiring clocks and acquiring regulators all print specific error
messages before returning an error, so there is no value in printing yet
another - more generic - message when this occur.
Reviewed-by: Vivek Gautam <vivek.gautam@codeaurora.org>
Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy/phy-qcom-ufs-qmp-20nm.c')
-rw-r--r-- | drivers/phy/phy-qcom-ufs-qmp-20nm.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/drivers/phy/phy-qcom-ufs-qmp-20nm.c b/drivers/phy/phy-qcom-ufs-qmp-20nm.c index 1a26a64e06d3..4f68acb58b73 100644 --- a/drivers/phy/phy-qcom-ufs-qmp-20nm.c +++ b/drivers/phy/phy-qcom-ufs-qmp-20nm.c @@ -190,25 +190,17 @@ static int ufs_qcom_phy_qmp_20nm_probe(struct platform_device *pdev) &ufs_qcom_phy_qmp_20nm_phy_ops, &phy_20nm_ops); if (!generic_phy) { - dev_err(dev, "%s: ufs_qcom_phy_generic_probe() failed\n", - __func__); err = -EIO; goto out; } err = ufs_qcom_phy_init_clks(phy_common); - if (err) { - dev_err(phy_common->dev, "%s: ufs_qcom_phy_init_clks() failed %d\n", - __func__, err); + if (err) goto out; - } err = ufs_qcom_phy_init_vregulators(phy_common); - if (err) { - dev_err(phy_common->dev, "%s: ufs_qcom_phy_init_vregulators() failed %d\n", - __func__, err); + if (err) goto out; - } ufs_qcom_phy_qmp_20nm_advertise_quirks(phy_common); |