mtd: onenand: omap2: Remove redundant dev_err call in omap2_onenand_probe()
authorWei Yongjun <weiyongjun1@huawei.com>
Wed, 17 Jan 2018 11:25:33 +0000 (11:25 +0000)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 19 Jan 2018 08:40:03 +0000 (09:40 +0100)
commite6b90db83f8b33735fe5a008ff171f69527a5305
tree66cb5f0b4de5fdf30fd498f26b83f921c84666d3
parent82cea533aed44c1b8553fe782e1bc5e1262bd71a
mtd: onenand: omap2: Remove redundant dev_err call in omap2_onenand_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>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/onenand/omap2.c