]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb24838c44c61ff3e904cbbfe11589e435ce821d5
tree169705aa8d4d2f2fb9c348815dd610729965658e
parent1dda08978bd60a9da82d9c5e1744d04682e24ade
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