Skip to content

Commit

Permalink
irqchip: gic-pm: Remove redundant error log of clock bulk
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Chunfeng Yun authored and Marc Zyngier committed Jun 11, 2021
1 parent 75768e3 commit 21a4961
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/irqchip/irq-gic-pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 21a4961

Please sign in to comment.