diff options
| author | Jon Mason <[email protected]> | 2013-09-11 14:35:06 -0700 |
|---|---|---|
| committer | Tomi Valkeinen <[email protected]> | 2013-09-19 13:30:06 +0300 |
| commit | 65122f7e80b5a4aaec76c21369c798975c3eedac (patch) | |
| tree | a1142b173ac7990fc3d54a91b817585f9b364a13 /tools/perf/scripts/python | |
| parent | 8d0c03dd2d1e8fd0f7ac3d43e90ed99dd748ed7a (diff) | |
radeonfb: Use pci_dev pm_cap
Use the already existing pm_cap variable in struct pci_dev for
determining the power management offset. This saves the driver from
having to keep track of an extra variable. Also, use the pci_power_t
value instead of always using the raw value for PCI_D2.
Signed-off-by: Jon Mason <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Jean-Christophe Plagniol-Villard <[email protected]>
Cc: Tomi Valkeinen <[email protected]>
Signed-off-by: Tomi Valkeinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions