iwlagn: clean up PM code
authorJohannes Berg <johannes.berg@intel.com>
Thu, 15 Sep 2011 18:46:45 +0000 (11:46 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 19 Sep 2011 20:10:09 +0000 (16:10 -0400)
commitc01a404756ef7dd4089b3d5d2010cba99732e385
treea971c8eb1a2391141fab46469463bfbc63b5e54c
parent72afb108ad679f0694d3232ffdd34b0e906773ef
iwlagn: clean up PM code

The transport callbacks might as well be undefined
when CONFIG_PM_SLEEP is not set, so ifdef all of
it out and make everything available for PM_SLEEP
only.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-trans-pcie.c
drivers/net/wireless/iwlwifi/iwl-trans.h