iwlagn: use PM ops macro
authorJohannes Berg <johannes.berg@intel.com>
Tue, 21 Jun 2011 11:30:56 +0000 (04:30 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 24 Jun 2011 18:54:22 +0000 (11:54 -0700)
commit1e5cf9b0be4e8902c06bf9600ea0b256e731c862
treec02b8b1181e5f268684384aa8a6bfd7112257118
parentcd15598707aff52da4302d9b6a3fc878bca27383
iwlagn: use PM ops macro

Simplify the code and use SIMPLE_DEV_PM_OPS
to define iwl_dev_pm_ops instead of doing the
same thing manually.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-pci.c