linux/drivers/scsi/pm8001
Vaibhav Gupta 47c37c4dbf scsi: pm_8001: Use generic power management
Drivers should do only device-specific jobs. But in general, drivers using
legacy PCI PM framework for .suspend()/.resume() have to manage many PCI
PM-related tasks themselves which can be done by PCI Core itself. This
brings extra load on the driver and it directly calls PCI helper functions
to handle them.

Switch to the new generic framework by updating function signatures and
define a "struct dev_pm_ops" variable to bind PM callbacks. Also, remove
unnecessary calls to the PCI Helper functions along with the legacy
.suspend & .resume bindings.

Link: https://lore.kernel.org/r/20201102164730.324035-20-vaibhavgupta40@gmail.com
Signed-off-by: Vaibhav Gupta <vaibhavgupta40@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2020-11-25 23:23:21 -05:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pm80xx_hwi.c scsi: pm8001: Neaten debug logging macros and uses 2020-11-23 22:22:11 -05:00
pm80xx_hwi.h scsi: pm80xx: Avoid busywait in FW ready check 2020-11-04 22:55:38 -05:00
pm8001_chips.h
pm8001_ctl.c scsi: pm8001: Neaten debug logging macros and uses 2020-11-23 22:22:11 -05:00
pm8001_ctl.h [SCSI] pm80xx: Firmware logging support. 2013-10-25 09:58:16 +01:00
pm8001_defs.h scsi: pm80xx: Increase the number of outstanding I/O supported to 1024 2020-10-07 23:50:04 -04:00
pm8001_hwi.c scsi: pm8001: Neaten debug logging macros and uses 2020-11-23 22:22:11 -05:00
pm8001_hwi.h scsi: pm80xx: Fix for phy enable/disable functionality 2018-09-11 21:13:08 -04:00
pm8001_init.c scsi: pm_8001: Use generic power management 2020-11-25 23:23:21 -05:00
pm8001_sas.c scsi: pm8001: Make implicit use of pm8001_ha in pm8001_printk() explicit 2020-11-23 22:22:11 -05:00
pm8001_sas.h scsi: pm8001: Make implicit use of pm8001_ha in pm8001_printk() explicit 2020-11-23 22:22:11 -05:00