linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM:mach-zx:remove duplicate debug message
@ 2020-03-03  3:17 tangbin
  2020-03-04  0:46 ` Jun Nie
  0 siblings, 1 reply; 2+ messages in thread
From: tangbin @ 2020-03-03  3:17 UTC (permalink / raw)
  To: jun.nie; +Cc: tangbin, shawnguo, linux, linux-arm-kernel, linux-kernel

remove duplicate dev_err message, because of
devm_ioremap_resource, which has already contains.

Signed-off-by: tangbin <tangbin@cmss.chinamobile.com>
---
 arch/arm/mach-zx/zx296702-pm-domain.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/arch/arm/mach-zx/zx296702-pm-domain.c b/arch/arm/mach-zx/zx296702-pm-domain.c
index 7a08bf9dd..ac44ea8e6 100644
--- a/arch/arm/mach-zx/zx296702-pm-domain.c
+++ b/arch/arm/mach-zx/zx296702-pm-domain.c
@@ -169,10 +169,8 @@ 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");
+	if (IS_ERR(pcubase))
 		return -EIO;
-	}
 
 	for (i = 0; i < ARRAY_SIZE(zx296702_pm_domains); ++i)
 		pm_genpd_init(zx296702_pm_domains[i], NULL, false);
-- 
2.20.1.windows.1




_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM:mach-zx:remove duplicate debug message
  2020-03-03  3:17 [PATCH] ARM:mach-zx:remove duplicate debug message tangbin
@ 2020-03-04  0:46 ` Jun Nie
  0 siblings, 0 replies; 2+ messages in thread
From: Jun Nie @ 2020-03-04  0:46 UTC (permalink / raw)
  To: tangbin; +Cc: Shawn Guo, linux, linux-arm-kernel, Linux Kernel Mailing List

tangbin <tangbin@cmss.chinamobile.com> 于2020年3月3日周二 上午11:18写道:
>
> remove duplicate dev_err message, because of
> devm_ioremap_resource, which has already contains.
>
> Signed-off-by: tangbin <tangbin@cmss.chinamobile.com>
> ---
>  arch/arm/mach-zx/zx296702-pm-domain.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
>

Reviewed-by: Jun Nie <jun.nie@linaro.org>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-04  0:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-03  3:17 [PATCH] ARM:mach-zx:remove duplicate debug message tangbin
2020-03-04  0:46 ` Jun Nie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).