Aaron Lu 691e3d3175 [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>
2012-11-30 09:28:34 +00:00
..
2012-10-02 19:01:32 -07:00
2012-07-24 18:11:22 -07:00
2012-10-02 19:01:32 -07:00
2012-10-02 19:01:32 -07:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-09-01 08:43:34 -07:00
2012-10-02 19:01:32 -07:00
2012-08-24 13:10:28 +04:00
2012-01-02 13:04:55 +01:00
2012-03-22 12:55:29 -07:00
2012-01-22 14:50:03 +01:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-02-21 11:40:37 +01:00
2012-10-28 13:26:37 -07:00
2012-11-13 21:11:31 -08:00
2012-01-03 22:54:07 -05:00
2012-01-02 13:04:55 +01:00
2012-09-24 13:07:02 +04:00
2012-09-14 17:59:29 +01:00
2012-03-28 18:30:03 +01:00