ath5k: use DECLARE_EWMA
authorJohannes Berg <johannes.berg@intel.com>
Wed, 19 Aug 2015 07:46:20 +0000 (09:46 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Aug 2015 21:10:22 +0000 (14:10 -0700)
commit46f26ddf562e7495ffa37144be5e447aeb13795e
treef872bc3ed406198bf78e0f1de733ba636f53fec6
parent5377d75823ff90c0d5d52d69087707b2e54be21b
ath5k: use DECLARE_EWMA

This reduces code size slightly (at least on x86/64) while also
removing memory consumption by two unsigned long values for each
ath5k device.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wireless/ath/ath5k/Kconfig
drivers/net/wireless/ath/ath5k/ani.c
drivers/net/wireless/ath/ath5k/ath5k.h
drivers/net/wireless/ath/ath5k/base.c
drivers/net/wireless/ath/ath5k/debug.c