phy: phy-mtk-mipi-dsi: remove dummy assignment of error number
Return the error number directly without assignment Acked-by: Chun-Kuang Hu <chunkuang.hu@kernel.org> Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> Link: https://lore.kernel.org/r/1629191987-20774-8-git-send-email-chunfeng.yun@mediatek.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
parent
9474458753
commit
75203e7994
|
@ -203,10 +203,8 @@ static int mtk_mipi_tx_probe(struct platform_device *pdev)
|
||||||
phy_set_drvdata(phy, mipi_tx);
|
phy_set_drvdata(phy, mipi_tx);
|
||||||
|
|
||||||
phy_provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate);
|
phy_provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate);
|
||||||
if (IS_ERR(phy_provider)) {
|
if (IS_ERR(phy_provider))
|
||||||
ret = PTR_ERR(phy_provider);
|
return PTR_ERR(phy_provider);
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
|
|
||||||
mipi_tx->dev = dev;
|
mipi_tx->dev = dev;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue