Commit dd706623 authored by Yang Yingliang's avatar Yang Yingliang Committed by Mauro Carvalho Chehab

media: bdisp: remove redundant dev_err call in bdisp_probe()

There is a error message within devm_ioremap_resource
already, so remove the dev_err call to avoid redundant
error message.
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent a6b1e709
...@@ -1318,7 +1318,6 @@ static int bdisp_probe(struct platform_device *pdev) ...@@ -1318,7 +1318,6 @@ static int bdisp_probe(struct platform_device *pdev)
res = platform_get_resource(pdev, IORESOURCE_MEM, 0); res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
bdisp->regs = devm_ioremap_resource(dev, res); bdisp->regs = devm_ioremap_resource(dev, res);
if (IS_ERR(bdisp->regs)) { if (IS_ERR(bdisp->regs)) {
dev_err(dev, "failed to get regs\n");
ret = PTR_ERR(bdisp->regs); ret = PTR_ERR(bdisp->regs);
goto err_wq; goto err_wq;
} }
......
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