diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2010-09-25 23:35:07 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2010-10-17 01:57:47 +0200 |
commit | 140a6c945211ee911dec776fafa52e03a7d7bb9a (patch) | |
tree | 22b5d4bf530d95a890daef41d92051fca043ca26 /include/scsi/scsi_tgt_if.h | |
parent | 1bfee5bc86fdaecc912e06080583eddab7263df2 (diff) | |
download | linux-140a6c945211ee911dec776fafa52e03a7d7bb9a.tar.gz linux-140a6c945211ee911dec776fafa52e03a7d7bb9a.tar.bz2 linux-140a6c945211ee911dec776fafa52e03a7d7bb9a.zip |
PM / Runtime: Combine runtime PM entry points
This patch (as1424) combines the various public entry points for the
runtime PM routines into three simple functions: one for idle, one for
suspend, and one for resume. A new bitflag specifies whether or not
to increment or decrement the usage_count field.
The new entry points are named __pm_runtime_idle,
__pm_runtime_suspend, and __pm_runtime_resume, to reflect that they
are trampolines. Simultaneously, the corresponding internal routines
are renamed to rpm_idle, rpm_suspend, and rpm_resume.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'include/scsi/scsi_tgt_if.h')
0 files changed, 0 insertions, 0 deletions