mtd: rawnand: mtk: remove redundant dev_err call in mtk_ecc_probe()
authorYu Kuai <yukuai3@huawei.com>
Thu, 8 Apr 2021 11:15:12 +0000 (19:15 +0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 10 May 2021 08:34:41 +0000 (10:34 +0200)
commite101bd30456111d46bf4c54df122314ce96e4180
tree37982b45a96cec95d55d0286fd316885ce1b4848
parent03299d054047c32d864abe2e640533c55acda6c7
mtd: rawnand: mtk: remove redundant dev_err call in mtk_ecc_probe()

There is a error message within devm_ioremap_resource
already, so remove the dev_err call to avoid redundant
error message.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210408111514.1011020-2-yukuai3@huawei.com
drivers/mtd/nand/raw/mtk_ecc.c