sysdev: use mutex instead of semaphore
authorMatthias Kaehlcke <matthias.kaehlcke@gmail.com>
Wed, 23 May 2007 21:19:42 +0000 (14:19 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 Jul 2007 23:09:01 +0000 (16:09 -0700)
commit9f3f776bd9e3d52f0204db1df0914b50d6a2372e
tree9f409655c2fb860fac729e88bcdb7c1f7017bc73
parent80f03e349f06a261a8e980bf6005c61811a0d66a
sysdev: use mutex instead of semaphore

The sysdev code use a semaphore as mutex.  Use the mutex API instead of the
(binary) semaphore.

Signed-off-by: Matthias Kaehlcke <matthias.kaehlcke@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/sys.c