]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9aa882a79b7ed14028765a597468e3dbdcbaa875
treedc84414e5b33790421eec577eff4f55ba9cae6f6
parentd37d0c55bc63e5e3f22c0b87c811873e839248e1
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