aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/mei
diff options
context:
space:
mode:
authorShang XiaoJing <shangxiaojing@huawei.com>2022-09-23 18:08:41 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-09-24 14:57:24 +0200
commit9ea224b119223ddacbed3d7c96a30b2823e09579 (patch)
treebaef1a9c806044f5ff1776836c499351224535b7 /drivers/misc/mei
parentmei: fix repeated words in comments (diff)
downloadlinux-dev-9ea224b119223ddacbed3d7c96a30b2823e09579.tar.xz
linux-dev-9ea224b119223ddacbed3d7c96a30b2823e09579.zip
mei: gsc: Remove redundant dev_err call
devm_ioremap_resource() prints error message in itself. Remove the dev_err call to avoid redundant error message. Signed-off-by: Shang XiaoJing <shangxiaojing@huawei.com> Link: https://lore.kernel.org/r/20220923100841.17719-1-shangxiaojing@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei')
-rw-r--r--drivers/misc/mei/gsc-me.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/misc/mei/gsc-me.c b/drivers/misc/mei/gsc-me.c
index c8145e9b62b6..dd54f6110ae5 100644
--- a/drivers/misc/mei/gsc-me.c
+++ b/drivers/misc/mei/gsc-me.c
@@ -56,7 +56,6 @@ static int mei_gsc_probe(struct auxiliary_device *aux_dev,
hw = to_me_hw(dev);
hw->mem_addr = devm_ioremap_resource(device, &adev->bar);
if (IS_ERR(hw->mem_addr)) {
- dev_err(device, "mmio not mapped\n");
ret = PTR_ERR(hw->mem_addr);
goto err;
}