commit | 337001b6c42938f49a880b1b8306c3ed771a7e61 | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rjw@sisk.pl> | Mon Jul 07 03:36:24 2008 +0200 |
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | Mon Jul 07 16:26:50 2008 -0700 |
tree | 0e704359c989beba626388cf2404f038e55f442e | |
parent | 404cc2d8ce41ed4031958fba8e633767e8a2e028 [diff] |
PCI: Simplify PCI device PM code 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>