mtd: nand: mediatek: remove redundant dev_err call in mtk_nfc_probe()
authorWei Yongjun <weiyongjun1@huawei.com>
Tue, 17 Jan 2017 14:22:46 +0000 (14:22 +0000)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Mon, 30 Jan 2017 10:54:22 +0000 (11:54 +0100)
commit07f76443ef81e2b76bb6f7858ba183cd60357ada
tree4abb53cd07933f7ed845544fdf04c74843923cdc
parentde0b34455afd1204a3644c9eb25b0b3b0aeb2fe9
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>
drivers/mtd/nand/mtk_nand.c