]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/clk/clk.c
Merge tag 'clk-for-linus-3.11' of git://git.linaro.org/people/mturquette/linux
[karo-tx-linux.git] / drivers / clk / clk.c
index edf3fe10054269b0b409fe71c0f649960ae78a8d..54a191c5bbf0e3f4c1b23807c12a59cdb0d74031 100644 (file)
@@ -1953,6 +1953,7 @@ int clk_notifier_unregister(struct clk *clk, struct notifier_block *nb)
                /* XXX the notifier code should handle this better */
                if (!cn->notifier_head.head) {
                        srcu_cleanup_notifier_head(&cn->notifier_head);
+                       list_del(&cn->node);
                        kfree(cn);
                }