summaryrefslogtreecommitdiff
path: root/drivers/video/arkfb.c
diff options
context:
space:
mode:
authorJon Mason <jdmason@kudzu.us>2013-09-12 01:35:06 +0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-09-19 14:30:06 +0400
commit65122f7e80b5a4aaec76c21369c798975c3eedac (patch)
treea1142b173ac7990fc3d54a91b817585f9b364a13 /drivers/video/arkfb.c
parent8d0c03dd2d1e8fd0f7ac3d43e90ed99dd748ed7a (diff)
downloadlinux-65122f7e80b5a4aaec76c21369c798975c3eedac.tar.xz
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 'drivers/video/arkfb.c')
0 files changed, 0 insertions, 0 deletions