summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAaron Lu <aaron.lu@intel.com>2012-11-09 08:27:55 +0100
committerJames Bottomley <JBottomley@Parallels.com>2012-11-30 10:28:34 +0100
commit691e3d3175daff73d9b1771bf79ab032fdcec5a5 (patch)
treef1b66686e4fe57f2494787de0378ad2ca5be4502 /kernel
parent[SCSI] scsi_pm: use callbacks from dev_pm_ops for scsi devices (diff)
downloadlinux-691e3d3175daff73d9b1771bf79ab032fdcec5a5.tar.xz
linux-691e3d3175daff73d9b1771bf79ab032fdcec5a5.zip
[SCSI] sd: update sd to use the new pm callbacks
Update sd driver to use the callbacks defined in dev_pm_ops. sd_freeze is NULL, the bus level callback has taken care of quiescing the device so there should be nothing needs to be done here. Consequently, sd_thaw is not needed here either. suspend, poweroff and runtime suspend share the same routine sd_suspend, which will sync flush and then stop the drive, this is the same as before. resume, restore and runtime resume share the same routine sd_resume, which will start the drive by putting it into active power state, this is also the same as before. Signed-off-by: Aaron Lu <aaron.lu@intel.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Acked-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions