Re: [PATCH 2/9] amd8111e: use pdev->pm_cap instead ofpci_find_capability(..,PCI_CAP_ID_PM)

From: David Miller
Date: Thu Jun 20 2013 - 01:24:25 EST


From: Yijing Wang <wangyijing@xxxxxxxxxx>
Date: Tue, 18 Jun 2013 16:06:37 +0800

> 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@xxxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/