Merge branch 'clk-next-unregister' into clk-next
authorMike Turquette <mturquette@linaro.org>
Tue, 31 Dec 2013 19:35:12 +0000 (11:35 -0800)
committerMike Turquette <mturquette@linaro.org>
Tue, 31 Dec 2013 19:35:12 +0000 (11:35 -0800)
Conflicts:
drivers/clk/clk.c

1  2 
drivers/clk/clk.c
include/linux/clk-private.h

@@@ -1861,6 -1794,9 +1881,7 @@@ int __clk_init(struct device *dev, stru
        if (clk->ops->init)
                clk->ops->init(clk->hw);
  
 -      clk_debug_register(clk);
 -
+       kref_init(&clk->ref);
  out:
        clk_prepare_unlock();
  
@@@ -45,9 -48,10 +49,10 @@@ struct clk 
        struct hlist_head       children;
        struct hlist_node       child_node;
        unsigned int            notifier_count;
 -#ifdef CONFIG_COMMON_CLK_DEBUG
 +#ifdef CONFIG_DEBUG_FS
        struct dentry           *dentry;
  #endif
+       struct kref             ref;
  };
  
  /*