]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: use SIMPLE_DEV_PM_OPS
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 29 Nov 2012 22:27:15 +0000 (23:27 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 30 Nov 2012 19:00:35 +0000 (14:00 -0500)
commit2b687c95476e1e6bd4d582b616175d663d07f865
tree82764784120266c06c90056b28368ce4a0388e30
parentbe62a51f6b773a70b86e444979f642dffeeb3625
ath9k: use SIMPLE_DEV_PM_OPS

ath9k does not provide any runtime pm callbacks, so support for
PM_RUNTIME is not needed and we could go to PM_SLEEP.
This also makes it possible to use SIMPLE_DEV_PM_OPS instead of
manually filling struct dev_pm_ops.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/pci.c