Yijing Wang 66be736921 radeon: use pdev->pm_cap instead of pci_find_capability(..,PCI_CAP_ID_PM)
Pci core has been saved pm cap register offset by pdev->pm_cap in pci_pm_init()
in init path. So we can use pdev->pm_cap instead of using
pci_find_capability(pdev, PCI_CAP_ID_PM) for better performance and simplified code.

Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: linux-fbdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2013-06-27 09:35:36 +03:00
..
2013-02-22 23:31:31 -05:00
2013-04-18 13:03:53 +10: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-04-12 14:01:40 +10:00
2013-04-26 08:28:47 +03:00
2013-04-12 15:21:36 +02:00
2013-04-24 08:41:42 +03:00
2013-06-26 14:51:18 +03:00
2013-04-26 08:28:56 +03:00