projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b25cf0
)
mei: gsc: Remove redundant dev_err call
author
Shang XiaoJing
<shangxiaojing@huawei.com>
Fri, 23 Sep 2022 10:08:41 +0000
(18:08 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sat, 24 Sep 2022 12:57:24 +0000
(14:57 +0200)
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>
drivers/misc/mei/gsc-me.c
patch
|
blob
|
history
diff --git
a/drivers/misc/mei/gsc-me.c
b/drivers/misc/mei/gsc-me.c
index c8145e9b62b61bed46aacb78732f6ea7ef68af25..dd54f6110ae5bc924893bc878b91856d2340e63b 100644
(file)
--- 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;
}