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

From: irqchip-bot for Chunfeng Yun
Date: Fri Jun 11 2021 - 09:54:40 EST


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@xxxxxxxxxxxx>
AuthorDate: Fri, 09 Apr 2021 11:04:34 +08:00
Committer: Marc Zyngier <maz@xxxxxxxxxx>
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@xxxxxxxxxxxx>
Signed-off-by: Marc Zyngier <maz@xxxxxxxxxx>
Link: https://lore.kernel.org/r/1617937474-24630-1-git-send-email-chunfeng.yun@xxxxxxxxxxxx
---
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