iwlwifi: clean up transport debugfs handling
authorJohannes Berg <johannes.berg@intel.com>
Wed, 11 Nov 2015 10:53:32 +0000 (11:53 +0100)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 1 Dec 2015 19:17:51 +0000 (21:17 +0200)
commitf8a1edb76eca455c2d158c77045b9882bfa0857a
tree745a3d8e06dace04a5a7c5b8ef67d1625d18e7dc
parent321c2104f2f1649665aecd3b9204fea9eecc5ce6
iwlwifi: clean up transport debugfs handling

Transport code currently calls itself through the transport ops,
which is quite pointless. Clean up all of this. While at it,
remove the unnecessary dir argument and the redundant IDI code.

In slave transports, call both the common slave debugfs and the
transport's own. SDIO has no files, so remove it all there.

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