Yijing Wang 8576827131 bnx2: 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: Michael Chan <mchan@broadcom.com>
Cc: netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-06-19 22:22:57 -07:00
..
2013-05-30 18:27:24 -07:00
2013-05-09 09:59:16 -07:00
2013-05-23 18:24:10 -07:00
2013-05-06 14:59:13 -07:00
2013-06-08 15:50:42 -07:00
2013-06-13 10:13:29 -07:00
2013-06-01 19:53:41 +09:00
2013-06-14 19:15:36 -10:00
2013-05-15 10:58:22 -07:00
2013-05-07 14:04:56 -07:00
2013-05-07 14:02:00 -07:00
2013-06-11 16:18:05 -07:00
2013-06-05 08:54:16 -06:00
2013-06-11 02:46:21 -07:00
2013-05-04 12:31:18 -07:00
2013-05-04 12:31:18 -07:00