未验证 提交 a57ec83a 编写于 作者: T tangbin 提交者: Mark Brown

ASoC: zte: zx-spdif: remove redundant dev_err message

devm_ioremap_resource has already contains error message, so remove
the redundant dev_err message
Signed-off-by: Ntangbin <tangbin@cmss.chinamobile.com>
Link: https://lore.kernel.org/r/20200227150701.15652-1-tangbin@cmss.chinamobile.comSigned-off-by: NMark Brown <broonie@kernel.org>
上级 ac5bf39e
......@@ -322,7 +322,6 @@ static int zx_spdif_probe(struct platform_device *pdev)
zx_spdif->mapbase = res->start;
zx_spdif->reg_base = devm_ioremap_resource(&pdev->dev, res);
if (IS_ERR(zx_spdif->reg_base)) {
dev_err(&pdev->dev, "ioremap failed!\n");
return PTR_ERR(zx_spdif->reg_base);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册