]> bbs.cooldavid.org Git - jme.git/commitdiff
Net / jme: Do not use legacy PCI power management
authorRafael J. Wysocki <rjw@sisk.pl>
Sat, 26 Mar 2011 01:34:06 +0000 (01:34 +0000)
committerGuo-Fu Tseng <cooldavid@cooldavid.org>
Sat, 25 Jun 2011 05:53:42 +0000 (13:53 +0800)
The jme driver uses the legacy PCI power management, so it has to do
some PCI-specific things in its ->suspend() and ->resume() callbacks,
which isn't necessary and should better be done by the PCI
sybsystem-level power management code.  It also doesn't use device
wakeup flags correctly.

Convert jme to the new PCI power management framework and make it
let the PCI subsystem take care of all the PCI-specific aspects of
device handling during system power transitions.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found