staging: nvec: move toggle global event reporting to its own function
authorMarc Dietrich <marvin24@gmx.de>
Sun, 27 Jan 2013 16:43:41 +0000 (17:43 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Jan 2013 04:25:09 +0000 (23:25 -0500)
commit518945fbfbe9e2bc39057115aa23e25b084a03e0
tree544bbf437336a7bd5a489b6299f6de658a57a46d
parent9915518887e83764269d5b617d01782893877ed3
staging: nvec: move toggle global event reporting to its own function

Cleanup toggle of global event reporting by moving it to its own function.
This simplifies the following cleanup.

Signed-off-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/nvec/nvec.c
drivers/staging/nvec/nvec.h