mtd: aspeed: remove redundant dev_err call in aspeed_smc_probe()
authorWei Yongjun <weiyongjun1@huawei.com>
Wed, 8 Feb 2017 16:23:10 +0000 (16:23 +0000)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 10 Feb 2017 19:20:22 +0000 (11:20 -0800)
commitd91f6cee98b6e0ef5a05209ca9b741d23086cdb2
treedc84414e5b33790421eec577eff4f55ba9cae6f6
parent2bfc7452742617fe1182b742917e6e9032eae52c
mtd: aspeed: remove redundant dev_err call in aspeed_smc_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>
Reviewed-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/spi-nor/aspeed-smc.c