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)
commitbaee1f3caa5a771880144358dd07d32e09ba4dcf
treea004b88ce54e4a9b842f83b820db092561306475
parentfe348cb628e6a78cc1e82fe64404c9a304ed9c12
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