linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] irqchip: gic-pm: remove redundant error log of clock bulk
@ 2021-04-09  3:04 Chunfeng Yun
  2021-06-11 13:54 ` [irqchip: irq/irqchip-next] irqchip: gic-pm: Remove " irqchip-bot for Chunfeng Yun
  0 siblings, 1 reply; 2+ messages in thread
From: Chunfeng Yun @ 2021-04-09  3:04 UTC (permalink / raw)
  To: Marc Zyngier
  Cc: Thomas Gleixner, Matthias Brugger, linux-kernel,
	linux-arm-kernel, linux-mediatek, Chunfeng Yun

There is error log in clk_bulk_prepare/enable()

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
---
 drivers/irqchip/irq-gic-pm.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/irqchip/irq-gic-pm.c b/drivers/irqchip/irq-gic-pm.c
index 1337cec..b60e185 100644
--- a/drivers/irqchip/irq-gic-pm.c
+++ b/drivers/irqchip/irq-gic-pm.c
@@ -30,10 +30,8 @@ static int gic_runtime_resume(struct device *dev)
 	int ret;
 
 	ret = clk_bulk_prepare_enable(data->num_clocks, chip_pm->clks);
-	if (ret) {
-		dev_err(dev, "clk_enable failed: %d\n", ret);
+	if (ret)
 		return ret;
-	}
 
 	/*
 	 * On the very first resume, the pointer to chip_pm->chip_data
-- 
1.8.1.1.dirty


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

* [irqchip: irq/irqchip-next] irqchip: gic-pm: Remove redundant error log of clock bulk
  2021-04-09  3:04 [PATCH] irqchip: gic-pm: remove redundant error log of clock bulk Chunfeng Yun
@ 2021-06-11 13:54 ` irqchip-bot for Chunfeng Yun
  0 siblings, 0 replies; 2+ messages in thread
From: irqchip-bot for Chunfeng Yun @ 2021-06-11 13:54 UTC (permalink / raw)
  To: linux-kernel; +Cc: Chunfeng Yun, Marc Zyngier, tglx

The following commit has been merged into the irq/irqchip-next branch of irqchip:

Commit-ID:     21a496179c6e3a9fc03d1296b36afd14046db88f
Gitweb:        https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/21a496179c6e3a9fc03d1296b36afd14046db88f
Author:        Chunfeng Yun <chunfeng.yun@mediatek.com>
AuthorDate:    Fri, 09 Apr 2021 11:04:34 +08:00
Committer:     Marc Zyngier <maz@kernel.org>
CommitterDate: Fri, 11 Jun 2021 14:21:04 +01:00

irqchip: gic-pm: Remove redundant error log of clock bulk

There is error log in clk_bulk_prepare/enable()

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/1617937474-24630-1-git-send-email-chunfeng.yun@mediatek.com
---
 drivers/irqchip/irq-gic-pm.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/irqchip/irq-gic-pm.c b/drivers/irqchip/irq-gic-pm.c
index 1337cec..b60e185 100644
--- a/drivers/irqchip/irq-gic-pm.c
+++ b/drivers/irqchip/irq-gic-pm.c
@@ -30,10 +30,8 @@ static int gic_runtime_resume(struct device *dev)
 	int ret;
 
 	ret = clk_bulk_prepare_enable(data->num_clocks, chip_pm->clks);
-	if (ret) {
-		dev_err(dev, "clk_enable failed: %d\n", ret);
+	if (ret)
 		return ret;
-	}
 
 	/*
 	 * On the very first resume, the pointer to chip_pm->chip_data

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

end of thread, other threads:[~2021-06-11 13:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-09  3:04 [PATCH] irqchip: gic-pm: remove redundant error log of clock bulk Chunfeng Yun
2021-06-11 13:54 ` [irqchip: irq/irqchip-next] irqchip: gic-pm: Remove " irqchip-bot for Chunfeng Yun

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).