use mutex instead of semaphore in hdaps driver
authorMatthias Kaehlcke <matthias.kaehlcke@gmail.com>
Tue, 8 May 2007 07:32:05 +0000 (00:32 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:15 +0000 (11:15 -0700)
commit6acc369a43ada9b829b3e1e4daef5c8a52a2d39a
tree7ee5526e5a0c3264946f522c1fb71134c80f03dd
parentd081d470446900473f2f32b9203827809b8134f0
use mutex instead of semaphore in hdaps driver

The hdaps driver uses a semaphore as mutex.  Use the mutex API instead of the
(binary) semaphore.

Signed-off-by: Matthias Kaehlcke <matthias.kaehlcke@gmail.com>
Cc: Robert Love <rlove@rlove.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/hwmon/hdaps.c