Skip to contentSkip to conversation

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

PATCH Applied Chunfeng Yun 2 participants 2 messages Apr 9, 2021 – Jun 11, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 irqchip: gic-pm: remove redundant error log of clock bulk

There is error log in clk_bulk_prepare/enable()

---
 drivers/irqchip/irq-gic-pm.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/irqchip/irq-gic-pm.c +1 -3
index 1337cec..b60e185 100644
@@ -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
Signature · 1 line
1.8.1.1.dirty
#1 lore raw

[irqchip: irq/irqchip-next] irqchip: gic-pm: Remove redundant error log of clock bulk

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

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 <[email protected]>
AuthorDate:    Fri, 09 Apr 2021 11:04:34 +08:00
Committer:     Marc Zyngier <[email protected]>
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()

---
 drivers/irqchip/irq-gic-pm.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/irqchip/irq-gic-pm.c +1 -3
index 1337cec..b60e185 100644
@@ -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