Yangtao Li <tiny.windzz@xxxxxxxxx> writes: > Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. > > Signed-off-by: Yangtao Li <tiny.windzz@xxxxxxxxx> > --- > drivers/net/wireless/ath/wil6210/debugfs.c | 240 +++--------------- > .../wireless/mediatek/mt76/mt76x0/debugfs.c | 20 +- > .../wireless/mediatek/mt76/mt76x2/debugfs.c | 38 +-- > .../net/wireless/mediatek/mt7601u/debugfs.c | 40 +-- > drivers/net/wireless/st/cw1200/debug.c | 32 +-- > 5 files changed, 64 insertions(+), 306 deletions(-) This is rather large cleanup so please split these per driver (wil6210, mt76 and cw1200). -- Kalle Valo