diff options
author | Nuno Sá <[email protected]> | 2024-07-10 10:40:36 +0200 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2024-08-06 14:49:25 -0700 |
commit | ec562c9a9ec27c4e31bdcaa84c67fa49f59454a6 (patch) | |
tree | 53614ab04864008a6483a9d999384d6a382c3679 | |
parent | 66b065239a2db3ac188d369d0b1797cd8bf62aeb (diff) |
clk: use clk_core_unlink_consumer() helper
There is an helper to remove a consumer from the clk provider list.
Hence, let's use it when releasing a consumer.
Signed-off-by: Nuno Sá <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Stephen Boyd <[email protected]>
-rw-r--r-- | drivers/clk/clk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index 7264cf6165ce..d02451f951cf 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -4762,7 +4762,7 @@ void __clk_put(struct clk *clk) clk->exclusive_count = 0; } - hlist_del(&clk->clks_node); + clk_core_unlink_consumer(clk); /* If we had any boundaries on that clock, let's drop them. */ if (clk->min_rate > 0 || clk->max_rate < ULONG_MAX) |