lkml.org 
[lkml]   [2020]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH -next] ARM: zx: remove redundant dev_err call in zx296702_pd_probe()
Date
There is a error message within devm_ioremap_resource
already, so remove the dev_err call to avoid redundant
error message.

Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com>
---
arch/arm/mach-zx/zx296702-pm-domain.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/arch/arm/mach-zx/zx296702-pm-domain.c b/arch/arm/mach-zx/zx296702-pm-domain.c
index 7a08bf9dd..98376d816 100644
--- a/arch/arm/mach-zx/zx296702-pm-domain.c
+++ b/arch/arm/mach-zx/zx296702-pm-domain.c
@@ -170,7 +170,6 @@ static int zx296702_pd_probe(struct platform_device *pdev)

pcubase = devm_ioremap_resource(&pdev->dev, res);
if (IS_ERR(pcubase)) {
- dev_err(&pdev->dev, "ioremap fail.\n");
return -EIO;
}

--
2.25.1
\
 
 \ /
  Last update: 2020-07-28 04:24    [W:1.560 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site