This set of patches modifies the debug system by replacing some complicated macros with the equivalent operations in C. Then, the COMP_XX component debugging is converted into a debug mask. Finally, code that allows the dynamic setting of the debug level is removed. All that functionality is already provided by /sys/module/<driver>/parameters/. Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx> Cc: Ping-Ke Shih <pkshih@xxxxxxxxxxx> --- V2 - Remove sysfs private interface rather than adding a new one Larry Finger (3): rtlwifi: Redo debugging macros RTPRINT and RT_PRINT_DATA rtlwifi: Convert COMP_XX entries into a proper debugging mask rtlwifi: Remove debugging entry in sysfs drivers/net/wireless/realtek/rtlwifi/base.c | 59 ---------------------- drivers/net/wireless/realtek/rtlwifi/base.h | 1 - drivers/net/wireless/realtek/rtlwifi/debug.c | 55 +++++++++++++------- drivers/net/wireless/realtek/rtlwifi/debug.h | 33 +++++------- drivers/net/wireless/realtek/rtlwifi/pci.c | 8 --- .../net/wireless/realtek/rtlwifi/rtl8188ee/sw.c | 5 ++ .../net/wireless/realtek/rtlwifi/rtl8192ce/sw.c | 5 ++ .../net/wireless/realtek/rtlwifi/rtl8192cu/sw.c | 5 ++ .../net/wireless/realtek/rtlwifi/rtl8192de/sw.c | 5 ++ .../net/wireless/realtek/rtlwifi/rtl8192ee/sw.c | 5 ++ .../net/wireless/realtek/rtlwifi/rtl8192se/sw.c | 5 ++ .../net/wireless/realtek/rtlwifi/rtl8723ae/sw.c | 5 ++ .../net/wireless/realtek/rtlwifi/rtl8723be/sw.c | 5 ++ .../net/wireless/realtek/rtlwifi/rtl8821ae/sw.c | 5 ++ drivers/net/wireless/realtek/rtlwifi/wifi.h | 4 +- 15 files changed, 100 insertions(+), 105 deletions(-) -- 2.10.2