linux_old1/drivers/scsi/pm8001
Yijing Wang c8a2ba3f50 [SCSI] pm8001: 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.

Tested-by: Lindar Liu <lindar_liu@usish.com>
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Acked-by: Lindar Liu <lindar_liu@usish.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-07-05 22:42:43 +01:00
..
Makefile [SCSI] pm80xx: Added SPCv/ve specific hardware functionalities and relevant changes in common files 2013-05-10 07:47:47 -07:00
pm80xx_hwi.c SCSI misc on 20130702 2013-07-04 12:30:30 -07:00
pm80xx_hwi.h [SCSI] pm80xx: thermal, sas controller config and error handling update 2013-05-10 07:47:51 -07:00
pm8001_chips.h [SCSI] pm8001: fix endian issue with code optimization. 2012-02-29 16:54:09 -06:00
pm8001_ctl.c [SCSI] pm80xx: Firmware flash memory free fix, with addition of new memory region for it 2013-05-10 07:47:49 -07:00
pm8001_ctl.h [SCSI] pm8001: enable read HBA SAS address from VPD 2009-12-10 10:09:23 -06:00
pm8001_defs.h [SCSI] pm80xx: Firmware flash memory free fix, with addition of new memory region for it 2013-05-10 07:47:49 -07:00
pm8001_hwi.c [SCSI] pm80xx: remove unneeded NULL check 2013-06-04 11:16:18 -07:00
pm8001_hwi.h [SCSI] pm80xx: SPC new firmware changes for device id 0x8081 alone 2013-05-10 07:47:48 -07:00
pm8001_init.c [SCSI] pm8001: use pdev->pm_cap instead of pci_find_capability(..,PCI_CAP_ID_PM) 2013-07-05 22:42:43 +01:00
pm8001_sas.c [SCSI] sas: unify the pointlessly separated enums sas_dev_type and sas_device_type 2013-05-10 07:47:52 -07:00
pm8001_sas.h [SCSI] sas: unify the pointlessly separated enums sas_dev_type and sas_device_type 2013-05-10 07:47:52 -07:00