Skip to content

Commit ec562c9

Browse files
nunojsabebarino
authored andcommitted
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]>
1 parent 66b0652 commit ec562c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/clk.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4762,7 +4762,7 @@ void __clk_put(struct clk *clk)
47624762
clk->exclusive_count = 0;
47634763
}
47644764

4765-
hlist_del(&clk->clks_node);
4765+
clk_core_unlink_consumer(clk);
47664766

47674767
/* If we had any boundaries on that clock, let's drop them. */
47684768
if (clk->min_rate > 0 || clk->max_rate < ULONG_MAX)

0 commit comments

Comments
 (0)