Merge tag 'imx-clk-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo...
[deliverable/linux.git] / drivers / clk / clk-fixed-rate.c
index 8e4453eb54e8266479d6f6256e02a9b505a90e8a..2edb39342a02a8d6397c9f9cef9ccdcd95f6e656 100644 (file)
@@ -145,6 +145,17 @@ void clk_unregister_fixed_rate(struct clk *clk)
 }
 EXPORT_SYMBOL_GPL(clk_unregister_fixed_rate);
 
+void clk_hw_unregister_fixed_rate(struct clk_hw *hw)
+{
+       struct clk_fixed_rate *fixed;
+
+       fixed = to_clk_fixed_rate(hw);
+
+       clk_hw_unregister(hw);
+       kfree(fixed);
+}
+EXPORT_SYMBOL_GPL(clk_hw_unregister_fixed_rate);
+
 #ifdef CONFIG_OF
 /**
  * of_fixed_clk_setup() - Setup function for simple fixed rate clock
This page took 0.040866 seconds and 5 git commands to generate.