summaryrefslogtreecommitdiff
path: root/drivers/clk/clk.c
diff options
context:
space:
mode:
authorMike Turquette <mturquette@linaro.org>2012-05-03 02:45:32 +0400
committerMike Turquette <mturquette@linaro.org>2012-05-09 01:12:42 +0400
commitd269b974e32c5dcf043acd07f9ad96e715019ffd (patch)
tree32ba485eed35251017a45d361b88b098f9f6fd1f /drivers/clk/clk.c
parent63f5c3b2b18dcaca0fc8983b52a3f5d4d70a0590 (diff)
downloadlinux-d269b974e32c5dcf043acd07f9ad96e715019ffd.tar.xz
clk: remove COMMON_CLK_DISABLE_UNUSED
Exposing this option generates confusion and incorrect behavior for single-image builds across platforms. Enable this behavior permanently. Signed-off-by: Mike Turquette <mturquette@linaro.org> Acked-by: Saravana Kannan <skannan@codeaurora.org>
Diffstat (limited to 'drivers/clk/clk.c')
-rw-r--r--drivers/clk/clk.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index 7ceca0e8645a..e5d5dc13bcfd 100644
--- a/drivers/clk/clk.c
+++ b/drivers/clk/clk.c
@@ -196,7 +196,6 @@ late_initcall(clk_debug_init);
static inline int clk_debug_register(struct clk *clk) { return 0; }
#endif
-#ifdef CONFIG_COMMON_CLK_DISABLE_UNUSED
/* caller must hold prepare_lock */
static void clk_disable_unused_subtree(struct clk *clk)
{
@@ -246,7 +245,6 @@ static int clk_disable_unused(void)
return 0;
}
late_initcall(clk_disable_unused);
-#endif
/*** helper functions ***/