iwlwifi: trans: make various conversion macros inlines
authorJohannes Berg <johannes.berg@intel.com>
Thu, 12 Nov 2015 15:16:01 +0000 (16:16 +0100)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 26 Nov 2015 14:38:48 +0000 (16:38 +0200)
commit85e5a3876393484361db8ae8d43b1bc27b8ad9c2
tree6c01c5329415b73dbec5c8a79c3e961ee9481906
parentd29cb66463810614abf81dd80d75da59c1e4fd07
iwlwifi: trans: make various conversion macros inlines

Make the various conversion functions typesafe, so we don't
accidentally try to call them with the wrong pointers and
cast them to something that will crash.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/internal.h