summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChunfeng Yun <chunfeng.yun@mediatek.com>2021-04-09 05:04:34 +0200
committerMarc Zyngier <maz@kernel.org>2021-06-11 15:21:04 +0200
commit21a496179c6e3a9fc03d1296b36afd14046db88f (patch)
tree735c1b9c970b48e0aaf1256b87f397dd7d111aed
parentirqchip/sun4i: Remove unnecessary oom message (diff)
downloadlinux-21a496179c6e3a9fc03d1296b36afd14046db88f.tar.xz
linux-21a496179c6e3a9fc03d1296b36afd14046db88f.zip
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
-rw-r--r--drivers/irqchip/irq-gic-pm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/irqchip/irq-gic-pm.c b/drivers/irqchip/irq-gic-pm.c
index 1337ceceb59b..b60e1853593f 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