PCI: Simplify PCI device PM code
authorRafael J. Wysocki <rjw@sisk.pl>
Mon, 7 Jul 2008 01:36:24 +0000 (03:36 +0200)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 7 Jul 2008 23:26:50 +0000 (16:26 -0700)
If the offset of PCI device's PM capability in its configuration space,
the mask of states that the device supports PME# from and the D1 and D2
support bits are cached in the corresponding struct pci_dev, the PCI
device PM code can be simplified quite a bit.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>

No differences found