iwlwifi: mvm: generate statistics debugfs code
authorJohannes Berg <johannes.berg@intel.com>
Thu, 15 Jan 2015 11:59:26 +0000 (12:59 +0100)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 22 Jan 2015 15:54:08 +0000 (17:54 +0200)
commit93d17cceb2620440aa3171e90b0ea69a97ac305d
tree169705aa8d4d2f2fb9c348815dd610729965658e
parentd19ac5897163aacb9d485a435f4d98f6fb209d77
iwlwifi: mvm: generate statistics debugfs code

There's no need to duplicate the structure field name in the string,
just generate the string in the macro that's there anyway. To keep
the debugfs output the same, rename one (otherwise unused) field.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/debugfs.c
drivers/net/wireless/iwlwifi/mvm/fw-api-stats.h