Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

phy: qcom-qmp: remove redundant error of clock bulk

There is error log in clk_bulk_prepare/enable()

Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/1621229841-22984-1-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Chunfeng Yun and committed by
Vinod Koul
4bbe33f6 3136b3b1

+2 -6
+2 -6
drivers/phy/qualcomm/phy-qcom-qmp.c
··· 4292 4292 } 4293 4293 4294 4294 ret = clk_bulk_prepare_enable(cfg->num_clks, qmp->clks); 4295 - if (ret) { 4296 - dev_err(qmp->dev, "failed to enable clks, err=%d\n", ret); 4295 + if (ret) 4297 4296 goto err_rst; 4298 - } 4299 4297 4300 4298 if (cfg->has_phy_dp_com_ctrl) { 4301 4299 qphy_setbits(dp_com, QPHY_V3_DP_COM_POWER_DOWN_CTRL, ··· 4727 4729 } 4728 4730 4729 4731 ret = clk_bulk_prepare_enable(cfg->num_clks, qmp->clks); 4730 - if (ret) { 4731 - dev_err(qmp->dev, "failed to enable clks, err=%d\n", ret); 4732 + if (ret) 4732 4733 return ret; 4733 - } 4734 4734 4735 4735 ret = clk_prepare_enable(qphy->pipe_clk); 4736 4736 if (ret) {