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
..
2013-09-19 13:30:06 +03:00
2013-09-06 13:34:43 -07:00
2013-09-11 19:55:12 -07:00
2013-06-28 18:01:28 +08:00
2013-09-05 09:49:32 -07:00
2013-04-18 13:03:53 +10:00
2013-09-05 09:49:32 -07:00
2013-02-22 23:31:31 -05:00
2013-04-24 08:41:41 +03:00
2013-04-26 08:28:56 +03:00
2013-03-20 16:26:32 +01:00
2013-08-02 11:34:30 +08:00
2013-07-08 16:36:49 +08:00
2013-09-05 09:49:32 -07:00
2013-09-05 09:49:32 -07:00
2013-07-09 15:51:32 -07:00
2013-04-12 15:21:36 +02:00
2013-06-26 14:51:18 +03:00
2013-04-26 08:28:56 +03:00
2013-07-26 10:28:50 +03:00
2013-09-05 09:49:32 -07:00