drivers/staging: use current->state helpers
authorDavidlohr Bueso <dave@stgolabs.net>
Mon, 26 Jan 2015 10:15:02 +0000 (02:15 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Jan 2015 19:25:28 +0000 (11:25 -0800)
commit2be90fef97ada3df61736435dc9ef6c3e432a747
tree3517dcb60259eb33da184442bbf757b0e28910ff
parent1167ff91da290cefc6e985c741dcab2a58c62452
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>
drivers/staging/comedi/drivers/me_daq.c
drivers/staging/dgnc/dgnc_utils.c
drivers/staging/panel/panel.c
drivers/staging/speakup/selection.c
drivers/staging/unisys/include/timskmod.h