Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 07f76443 authored by Wei Yongjun's avatar Wei Yongjun Committed by Boris Brezillon
Browse files

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: default avatarWei Yongjun <weiyongjun1@huawei.com>
Acked-by: default avatarMarek Vasut <marek.vasut@gmail.com>
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
parent de0b3445
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;
	}