Commit 28d74fc3 authored by Johan Hovold's avatar Johan Hovold Committed by Vinod Koul

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: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: default avatarJohan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20221012081241.18273-2-johan+linaro@kernel.orgSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 2d93887c
......@@ -2816,8 +2816,7 @@ static int qmp_combo_probe(struct platform_device *pdev)
ret = qmp_combo_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 ? */
......
......@@ -869,8 +869,7 @@ static int qmp_pcie_msm8996_probe(struct platform_device *pdev)
ret = qmp_pcie_msm8996_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 ? */
......
......@@ -2445,8 +2445,7 @@ static int qmp_pcie_probe(struct platform_device *pdev)
ret = qmp_pcie_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 ? */
......
......@@ -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 ? */
......
......@@ -2746,8 +2746,7 @@ static int qmp_usb_probe(struct platform_device *pdev)
ret = qmp_usb_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 ? */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment