Re: [PATCH 2/2] [SCSI] sd: update sd to use the new pm callbacks

2012-10-11 Thread Aaron Lu
On Wed, Oct 10, 2012 at 02:35:47PM -0400, Alan Stern wrote: On Wed, 10 Oct 2012, Aaron Lu wrote: 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

[PATCH 2/2] [SCSI] sd: update sd to use the new pm callbacks

2012-10-10 Thread Aaron Lu
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. Both suspend and poweroff shares the same routine

Re: [PATCH 2/2] [SCSI] sd: update sd to use the new pm callbacks

2012-10-10 Thread Alan Stern
On Wed, 10 Oct 2012, Aaron Lu wrote: 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. Both