]> git.baikalelectronics.ru Git - kernel.git/commit
Wireless / ath5k: Simplify suspend and resume callbacks
authorRafael J. Wysocki <rjw@sisk.pl>
Sun, 4 Oct 2009 22:52:09 +0000 (00:52 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 7 Oct 2009 20:39:46 +0000 (16:39 -0400)
commit7b741c229ca9f94cffb2f7cdfa53a56e8e03b945
treea004b88ce54e4a9b842f83b820db092561306475
parent11090f6372d9a426345bf29926990dc2d5a16ad0
Wireless / ath5k: Simplify suspend and resume callbacks

Simplify the suspend and resume callbacks of ath5k by converting the
driver to struct dev_pm_ops and allowing the PCI PM core to do the
PCI-specific suspend/resume handling.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/base.c