mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-04 12:54:37 +08:00
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: Yang Yingliang <yangyingliang@huawei.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
a6b1e7093f
commit
dd706623fc
@ -1318,7 +1318,6 @@ static int bdisp_probe(struct platform_device *pdev)
|
||||
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
|
||||
bdisp->regs = devm_ioremap_resource(dev, res);
|
||||
if (IS_ERR(bdisp->regs)) {
|
||||
dev_err(dev, "failed to get regs\n");
|
||||
ret = PTR_ERR(bdisp->regs);
|
||||
goto err_wq;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user