]> git.neil.brown.name Git - history.git/commit
[power] Fix locking in device_{suspend,resume}
authorPatrick Mochel <mochel@osdl.org>
Thu, 21 Aug 2003 05:48:57 +0000 (22:48 -0700)
committerPatrick Mochel <mochel@osdl.org>
Thu, 21 Aug 2003 05:48:57 +0000 (22:48 -0700)
commitc841acb0647bafed95ef1433477f996db4ba0f18
treea1d4eb1c935f612b9f86090238c1c86b04d07e1b
parent86bc7dd87dd6afb2467c747eb6510856988c5b86
[power] Fix locking in device_{suspend,resume}

We don't need to protect against multiple suspend calls, since subsequent
ones will happen on an empty (or at worst - short) list.
drivers/base/power/resume.c
drivers/base/power/suspend.c