On Thu, 27 Feb 2014, Ulf Hansson wrote:
quoted
A reasonable compromise would be to define the macro, and then use it
in those three new functions (and nowhere else).
Okay, let me send a v3 that tries this approach then.
quoted
The existing rpm_idle, rpm_suspend, and rpm_resume routines should then
be changed to use the new functions. And of course, the new functions
could be called directly by subsystems or PM domains.
Not sure we should export these functions as a part of this patchset.
Would it not be preferred, to first see if there are any that needs
it?
I don't understand. V2 of the patchset exports
pm_runtime_force_suspend and pm_runtime_force_resume. Why wouldn't you
want to export them in V3?
Alan Stern