summaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
authorYijing Wang <wangyijing@huawei.com>2013-06-18 10:12:37 +0200
committerDavid S. Miller <davem@davemloft.net>2013-06-20 07:22:57 +0200
commit85768271315bd368c86a0783bf0c85019afbabec (patch)
tree84ea2d16fdafdf02de42c8eb72958d3c1527aa66 /drivers/crypto
parentamd8111e: use pdev->pm_cap instead of pci_find_capability(.., PCI_CAP_ID_PM) (diff)
downloadlinux-85768271315bd368c86a0783bf0c85019afbabec.tar.xz
linux-85768271315bd368c86a0783bf0c85019afbabec.zip
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>
Diffstat (limited to 'drivers/crypto')
0 files changed, 0 insertions, 0 deletions