commit | 2be90fef97ada3df61736435dc9ef6c3e432a747 | [log] [tgz] |
---|---|---|
author | Davidlohr Bueso <dave@stgolabs.net> | Mon Jan 26 02:15:02 2015 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jan 28 11:25:28 2015 -0800 |
tree | 3517dcb60259eb33da184442bbf757b0e28910ff | |
parent | 1167ff91da290cefc6e985c741dcab2a58c62452 [diff] |
drivers/staging: use current->state helpers Call __set_current_state() instead of assigning the new state directly. These interfaces also aid CONFIG_DEBUG_ATOMIC_SLEEP environments, keeping track of who changed the state. Signed-off-by: Davidlohr Bueso <dbueso@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>