|
@@ -177,7 +177,14 @@ out_fail:
|
|
|
return ret;
|
|
|
}
|
|
|
|
|
|
-void timer_of_exit(struct timer_of *to)
|
|
|
+/**
|
|
|
+ * timer_of_cleanup - release timer_of ressources
|
|
|
+ * @to: timer_of structure
|
|
|
+ *
|
|
|
+ * Release the ressources that has been used in timer_of_init().
|
|
|
+ * This function should be called in init error cases
|
|
|
+ */
|
|
|
+void __init timer_of_cleanup(struct timer_of *to)
|
|
|
{
|
|
|
if (to->flags & TIMER_OF_IRQ)
|
|
|
timer_irq_exit(&to->of_irq);
|