linux/drivers/scsi/aacraid
Vaibhav Gupta 7e380b5c27 scsi: aacraid: 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-6-vaibhavgupta40@gmail.com
Acked-by: Balsundar P <balsundar.p@microchip.com>
Signed-off-by: Vaibhav Gupta <vaibhavgupta40@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2020-11-25 23:14:30 -05:00
..
aachba.c SCSI misc on 20201013 2020-10-14 15:15:35 -07:00
aacraid.h scsi: aacraid: bump version 2019-10-18 19:34:18 -04:00
commctrl.c scsi: aacraid: Improve compat_ioctl handlers 2020-11-04 21:54:11 -05:00
comminit.c scsi: aacraid: use scsi_host_busy_iter() to wait for outstanding commands 2020-02-28 20:54:52 -05:00
commsup.c SCSI misc on 20201013 2020-10-14 15:15:35 -07:00
dpcsup.c scsi: aacraid: Demote partially documented function header 2020-07-15 17:25:10 -04:00
linit.c scsi: aacraid: Use generic power management 2020-11-25 23:14:30 -05:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
nark.c scsi: aacraid: Add missing description for 'dev' 2020-07-24 22:09:58 -04:00
rkt.c scsi: aacraid: Add missing description for 'dev' 2020-07-24 22:09:57 -04:00
rx.c scsi: aacraid: Fill in the very parameter descriptions for rx_sync_cmd() 2020-07-15 17:25:14 -04:00
sa.c scsi: aacraid: Add descriptions for missing parameters 2020-07-24 22:09:57 -04:00
src.c scsi: aacraid: Add descriptions for missing parameters 2020-07-24 22:09:58 -04:00
TODO