Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+2 -12
-10
drivers/clk/Kconfig
··· 23 23 menu "Common Clock Framework" 24 24 depends on COMMON_CLK 25 25 26 - config 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 - 36 26 config COMMON_CLK_WM831X 37 27 tristate "Clock driver for WM831x/2x PMICs" 38 28 depends on MFD_WM831X
+1 -1
drivers/clk/clk.c
··· 92 92 93 93 /*** debugfs support ***/ 94 94 95 - #ifdef CONFIG_COMMON_CLK_DEBUG 95 + #ifdef CONFIG_DEBUG_FS 96 96 #include <linux/debugfs.h> 97 97 98 98 static struct dentry *rootdir;
+1 -1
include/linux/clk-private.h
··· 45 45 struct hlist_head children; 46 46 struct hlist_node child_node; 47 47 unsigned int notifier_count; 48 - #ifdef CONFIG_COMMON_CLK_DEBUG 48 + #ifdef CONFIG_DEBUG_FS 49 49 struct dentry *dentry; 50 50 #endif 51 51 };