iwlwifi: use bitfield.h for some registers
authorJohannes Berg <johannes.berg@intel.com>
Thu, 9 Mar 2017 10:22:54 +0000 (11:22 +0100)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 22 Jun 2017 21:13:00 +0000 (00:13 +0300)
commitf3779f476b85701acc3d7ec0eb9b099c2060e7c9
tree9bf5b72492eb2c2069a6b63a9246ac3157e4000e
parent40e86a3619a1e84ad73c716c943f65fc38eb1e28
iwlwifi: use bitfield.h for some registers

Letting the preprocessor/compiler generate the shift/mask by itself
is a win for readability, so use bitfield.h for some registers.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-fh.h
drivers/net/wireless/intel/iwlwifi/iwl-prph.h
drivers/net/wireless/intel/iwlwifi/pcie/rx.c
drivers/net/wireless/intel/iwlwifi/pcie/tx.c