mtd: nand: mediatek: remove redundant dev_err call in mtk_nfc_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: Wei Yongjun <weiyongjun1@huawei.com> Acked-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
This commit is contained in:
parent
de0b34455a
commit
07f76443ef
|
@ -1383,7 +1383,6 @@ static int mtk_nfc_probe(struct platform_device *pdev)
|
|||
nfc->regs = devm_ioremap_resource(dev, res);
|
||||
if (IS_ERR(nfc->regs)) {
|
||||
ret = PTR_ERR(nfc->regs);
|
||||
dev_err(dev, "no nfi base\n");
|
||||
goto release_ecc;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue