]> git.baikalelectronics.ru Git - kernel.git/commit
atl1c: Do not use legacy PCI power management
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 22 Dec 2010 03:07:52 +0000 (03:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Dec 2010 23:26:13 +0000 (15:26 -0800)
commit0006b29236ac959814a116dd54529e92371db604
treee532e1f7402f74902644cb2c473576d27378ce40
parent320a42a07de66db819968c0ed7380a7f0ed864bc
atl1c: Do not use legacy PCI power management

The atl1c driver uses the legacy PCI power management, so it has to
do some PCI-specific things in its ->suspend() and ->resume()
callbacks and they are not done correctly.

Convert atl1c to the new PCI power management framework and make it
let the PCI subsystem handle all of 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>
drivers/net/atl1c/atl1c_main.c