]> Git Repo - linux.git/commitdiff
clk: Add clk_hw_unregister_composite helper function definition
authorManivannan Sadhasivam <[email protected]>
Fri, 15 Nov 2019 16:28:56 +0000 (21:58 +0530)
committerStephen Boyd <[email protected]>
Fri, 22 Nov 2019 23:58:04 +0000 (15:58 -0800)
This function has been delcared but not defined anywhere. Hence, this
commit adds definition for it.

Fixes: 49cb392d3639 ("clk: composite: Add hw based registration APIs")
Signed-off-by: Manivannan Sadhasivam <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Stephen Boyd <[email protected]>
drivers/clk/clk-composite.c

index 28aaf4a3b28ab3c07dfd9f48b1056e23d5fa75a4..3e9c3e608769041fac3995856265e8d650fba42f 100644 (file)
@@ -343,3 +343,14 @@ void clk_unregister_composite(struct clk *clk)
        clk_unregister(clk);
        kfree(composite);
 }
+
+void clk_hw_unregister_composite(struct clk_hw *hw)
+{
+       struct clk_composite *composite;
+
+       composite = to_clk_composite(hw);
+
+       clk_hw_unregister(hw);
+       kfree(composite);
+}
+EXPORT_SYMBOL_GPL(clk_hw_unregister_composite);
This page took 0.070077 seconds and 4 git commands to generate.