aboutsummaryrefslogtreecommitdiff
path: root/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c
diff options
context:
space:
mode:
authorGravatar Johan Hovold <johan+linaro@kernel.org> 2022-10-12 10:12:28 +0200
committerGravatar Vinod Koul <vkoul@kernel.org> 2022-10-28 17:42:28 +0530
commit28d74fc36a3e667b51a437fbf6c45264a0c8f2db (patch)
treea2696bd03192b62061dee5b3f3ff7cb54933aa86 /drivers/phy/qualcomm/phy-qcom-qmp-ufs.c
parentphy: qcom-qmp-pcie: drop bogus register update (diff)
downloadlinux-28d74fc36a3e667b51a437fbf6c45264a0c8f2db.tar.gz
linux-28d74fc36a3e667b51a437fbf6c45264a0c8f2db.tar.bz2
linux-28d74fc36a3e667b51a437fbf6c45264a0c8f2db.zip
phy: qcom-qmp: drop regulator error message
Regulator core already logs an error message in case requesting a regulator fails so drop the mostly redundant error message from probe. Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Link: https://lore.kernel.org/r/20221012081241.18273-2-johan+linaro@kernel.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy/qualcomm/phy-qcom-qmp-ufs.c')
-rw-r--r--drivers/phy/qualcomm/phy-qcom-qmp-ufs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c b/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c
index e28c45ab74ea..566365fbfe1a 100644
--- a/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c
+++ b/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c
@@ -1210,8 +1210,7 @@ static int qmp_ufs_probe(struct platform_device *pdev)
ret = qmp_ufs_vreg_init(dev, cfg);
if (ret)
- return dev_err_probe(dev, ret,
- "failed to get regulator supplies\n");
+ return ret;
num = of_get_available_child_count(dev->of_node);
/* do we have a rogue child node ? */