mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 09:51:21 -04: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:
committed by
Mauro Carvalho Chehab
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user