Staging: vme: Replace semaphore by mutex.
authorSantosh Nayak <santoshprasadnayak@gmail.com>
Tue, 3 Apr 2012 11:12:51 +0000 (16:42 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Apr 2012 17:31:01 +0000 (10:31 -0700)
commitecb3b80ff968f1fffdbda9eb9aa8116db86ce220
tree45f3947b891981d74f755072c3fa2aca9f9dbd32
parentf56d711bc9cc25b17643a76ead98caff24507ba9
Staging: vme: Replace semaphore by mutex.

Replace binary semaphore by mutex for code cleanup.
Mutex also gives better performance than semaphore.

Add 'mutex_destroy()' in 'vme_user_remove()' routine.

Signed-off-by: Santosh Nayak <santoshprasadnayak@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vme/devices/vme_user.c