Messages in this thread | | | Date | Mon, 5 Dec 2011 09:43:49 -0800 | From | Tejun Heo <> | Subject | Re: [PATCH 3/3] PM / Docs: Recommend the use of [un]lock_system_sleep() over mutex_[un]lock(&pm_mutex) |
| |
Hello,
On Mon, Dec 05, 2011 at 11:08:38PM +0530, Srivatsa S. Bhat wrote: > Sorry, I didn't get what you meant here. Are you talking about what > needs to be added/changed in the documentation or, are you referring > to the code itself and are saying that we must make these APIs > internal to the PM alone?
Ooh, sorry about not being clear. I meant pm_mutex itself. There's no reason to expose that outside of pm, right? And in the documentation, we can just require use of the APIs instead of pm_mutex itself.
Thank you.
-- tejun
| |