some debugfs related parts in this drivers are identical or almost identical. This patch set remove most obvious parts. Module sizes before patch set: ath9k_htc 81196 ath9k 125783 ath9k_common 8185 Module sizes after patch set: ath9k_htc 63361 ath9k 121433 ath9k_common 13145 Oleksij Rempel (10): ath9k-common: create common-debug and move modal_eeprom to cmn ath9k_htc: use ath9k_cmn_debug_modal_eeprom ath9k: move base_eeprom debug code to ath9k_cmn_debug_base_eeprom ath9k_htc: use ath9k_cmn_debug_base_eeprom ath9k: reorder or remove some includes ath9k & ath9k_htc: move ath_rx_stats to cmn ath9k: move recv to ath9k_cmn_debug_recv ath9k_htc: use ath9k_cmn_debug_recv ath9k: move phy_err to ath9k_cmn_debug_phy_err ath9k_htc: use ath9k_cmn_debug_phy_err drivers/net/wireless/ath/ath9k/Makefile | 3 +- drivers/net/wireless/ath/ath9k/ath9k.h | 2 +- drivers/net/wireless/ath/ath9k/common-debug.c | 253 +++++++++++ drivers/net/wireless/ath/ath9k/common-debug.h | 72 ++++ drivers/net/wireless/ath/ath9k/common.h | 1 + drivers/net/wireless/ath/ath9k/debug.c | 214 +--------- drivers/net/wireless/ath/ath9k/debug.h | 44 -- drivers/net/wireless/ath/ath9k/htc.h | 17 +- drivers/net/wireless/ath/ath9k/htc_drv_debug.c | 555 ++----------------------- drivers/net/wireless/ath/ath9k/htc_drv_txrx.c | 3 +- drivers/net/wireless/ath/ath9k/hw.c | 1 - 11 files changed, 377 insertions(+), 788 deletions(-) create mode 100644 drivers/net/wireless/ath/ath9k/common-debug.c create mode 100644 drivers/net/wireless/ath/ath9k/common-debug.h -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html