summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorYijing Wang <wangyijing@huawei.com>2013-06-26 03:13:41 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-06-27 08:35:36 +0200
commit66be736921f955192ad4f75f2db38c903b191f3b (patch)
tree50cd6c4917734cdae9a80023642f32eea57d8cdf /scripts
parentaty128fb: use pdev->pm_cap instead of pci_find_capability(..,PCI_CAP_ID_PM) (diff)
downloadlinux-66be736921f955192ad4f75f2db38c903b191f3b.tar.xz
linux-66be736921f955192ad4f75f2db38c903b191f3b.zip
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions