mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
can: ctucanfd: 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/all/20220923095835.14647-1-shangxiaojing@huawei.com Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
parent
62f102c0d1
commit
6eed756408
1 changed files with 0 additions and 1 deletions
|
@ -58,7 +58,6 @@ static int ctucan_platform_probe(struct platform_device *pdev)
|
|||
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
|
||||
addr = devm_ioremap_resource(dev, res);
|
||||
if (IS_ERR(addr)) {
|
||||
dev_err(dev, "Cannot remap address.\n");
|
||||
ret = PTR_ERR(addr);
|
||||
goto err;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue