]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit45e972b7be8ac887aac62da0a84f9c9b6756d816
tree7ee5526e5a0c3264946f522c1fb71134c80f03dd
parentbf08ae6897d54e9ffe272f7a87d4158024987e24
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