aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorMike Turquette <mturquette@linaro.org>2013-12-19 00:38:52 -0500
committerMike Turquette <mturquette@linaro.org>2013-12-27 20:45:08 -0500
commitea72dc2cf9552631e43327ce593bdbb0b9fdf058 (patch)
treeccc7780a4c13dc2bd42a1e9012ba3838293eee9d /drivers/clk
parentaa73fbc504480cdb4c6406bd07fe040cc6c8f3cc (diff)
clk: remove CONFIG_COMMON_CLK_DEBUG
Populate ${DEBUGS_MOUNT_POINT}/clk if CONFIG_DEBUG_FS is set. This eliminates the extra (annoying) step of enabling the config option manually. Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/Kconfig10
-rw-r--r--drivers/clk/clk.c2
2 files changed, 1 insertions, 11 deletions
diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
index 3089f05ba661..407cffb04895 100644
--- a/drivers/clk/Kconfig
+++ b/drivers/clk/Kconfig
@@ -23,16 +23,6 @@ config COMMON_CLK
23menu "Common Clock Framework" 23menu "Common Clock Framework"
24 depends on COMMON_CLK 24 depends on COMMON_CLK
25 25
26config COMMON_CLK_DEBUG
27 bool "DebugFS representation of clock tree"
28 select DEBUG_FS
29 ---help---
30 Creates a directory hierarchy in debugfs for visualizing the clk
31 tree structure. Each directory contains read-only members
32 that export information specific to that clk node: clk_rate,
33 clk_flags, clk_prepare_count, clk_enable_count &
34 clk_notifier_count.
35
36config COMMON_CLK_WM831X 26config COMMON_CLK_WM831X
37 tristate "Clock driver for WM831x/2x PMICs" 27 tristate "Clock driver for WM831x/2x PMICs"
38 depends on MFD_WM831X 28 depends on MFD_WM831X
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index fbe08f618d59..b7f6e99e61eb 100644
--- a/drivers/clk/clk.c
+++ b/drivers/clk/clk.c
@@ -92,7 +92,7 @@ static void clk_enable_unlock(unsigned long flags)
92 92
93/*** debugfs support ***/ 93/*** debugfs support ***/
94 94
95#ifdef CONFIG_COMMON_CLK_DEBUG 95#ifdef CONFIG_DEBUG_FS
96#include <linux/debugfs.h> 96#include <linux/debugfs.h>
97 97
98static struct dentry *rootdir; 98static struct dentry *rootdir;