Jon Mason 65122f7e80 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>
2013-09-19 13:30:06 +03:00
..
2007-10-16 09:43:19 -07:00
2013-09-19 13:30:05 +03:00
2009-06-30 18:56:01 -07:00
2010-06-02 14:41:12 -07:00
2013-09-19 13:30:06 +03:00
2013-09-19 13:30:06 +03:00