]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
atl1: Do not use legacy PCI power management
authorRafael J. Wysocki <rjw@sisk.pl>
Thu, 10 Feb 2011 06:55:19 +0000 (06:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Feb 2011 19:38:44 +0000 (11:38 -0800)
commitdd68153def6b890a23288776cbd5bd2bad223a3f
tree43c4fe3ad2d9fc582c1fcbaad1c35ce75eef0588
parent0303adeee3d6740cd78a71c0f40946b4886ceaa3
atl1: Do not use legacy PCI power management

The atl1 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
subsystem-level power management code.

Convert atl1 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.

Tested-by: Thomas Fjellstrom <thomas@fjellstrom.ca>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/atlx/atl1.c