sonypi: use mutex instead of semaphore
authorMatthias Kaehlcke <matthias.kaehlcke@gmail.com>
Tue, 24 Apr 2007 20:02:35 +0000 (22:02 +0200)
committerLen Brown <len.brown@intel.com>
Sun, 29 Apr 2007 02:13:34 +0000 (22:13 -0400)
commitc6c60106b9584f17c55e4c5e0ce9b905a1a6cdb6
treee9c98eae19a6b1aa841e1834a6b6c682c6412bcd
parent1b20d34406775369d50fc2ffe27a64a0d6fd313e
sonypi: use mutex instead of semaphore

the Sony Programmable I/O Control driver uses a semaphore as
mutex. use the mutex API instead of the (binary) semaphore

Signed-off-by: Matthias Kaehlcke <matthias.kaehlcke@gmail.com>
Acked-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/char/sonypi.c