linux/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
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
pm8001_ctl.c
pm8001_ctl.h
pm8001_defs.h
pm8001_hwi.c [SCSI] pm80xx: remove unneeded NULL check 2013-06-04 11:16:18 -07:00
pm8001_hwi.h
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