iwlwifi: allocate the transport from the bus layer
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 2 Feb 2012 22:16:59 +0000 (14:16 -0800)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Thu, 2 Feb 2012 22:18:15 +0000 (14:18 -0800)
commitb52e7ea109cfe4ea7fea99b1cd20f57ccd95476a
treed53ced31d0d60702ec5bce58527500588df83586
parente81fb554cfe082dc59a707767c426cbd2e361033
iwlwifi: allocate the transport from the bus layer

Change the way we alloc the transport on the way.
Since the transport is allocated from a bus specific area, we can
give the bus specific parameters (i.e. pci_dev for PCI) to the
transport. This will be useful when the bus layer will be killed.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-pci.c
drivers/net/wireless/iwlwifi/iwl-trans-pcie.c
drivers/net/wireless/iwlwifi/iwl-trans.h