diff options
| author | Jon Mason <jdmason@kudzu.us> | 2013-09-11 14:35:06 -0700 |
|---|---|---|
| committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-09-19 13:30:06 +0300 |
| commit | 65122f7e80b5a4aaec76c21369c798975c3eedac (patch) | |
| tree | a1142b173ac7990fc3d54a91b817585f9b364a13 /tools/perf/scripts/python/syscall-counts.py | |
| 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 <jdmason@kudzu.us>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
