mtd: plat-ram: remove redundant dev_err call in platram_probe()
authorYu Kuai <yukuai3@huawei.com>
Thu, 8 Apr 2021 11:15:13 +0000 (19:15 +0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 10 May 2021 08:44:33 +0000 (10:44 +0200)
commitc054de10ae5d6d8b3f417cb8d29e67a7cd686f36
tree7efd7f17d27b8c5cd9b92e9eff04fc0dd191f5d8
parent6efb943b8616ec53a5e444193dccf1af9ad627b5
mtd: plat-ram: remove redundant dev_err call in platram_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-3-yukuai3@huawei.com
drivers/mtd/maps/plat-ram.c