From: Jon Mason Date: Wed, 11 Sep 2013 21:35:06 +0000 (-0700) Subject: radeonfb: Use pci_dev pm_cap X-Git-Tag: v3.13-rc1~93^2~140 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65122f7e80b5a4aaec76c21369c798975c3eedac;p=pandora-kernel.git 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 Cc: Benjamin Herrenschmidt Cc: Jean-Christophe Plagniol-Villard Cc: Tomi Valkeinen Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed