[PATCH] use mutex instead of semaphore in hdaps driver

2007-04-25 Thread Matthias Kaehlcke
the hdaps driver uses a semaphore as mutex. use the mutex API instead of the (binary) semaphore Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> -- diff --git a/drivers/hwmon/hdaps.c b/drivers/hwmon/hdaps.c index bf759ea..f8e4952 100644 --- a/drivers/hwmon/hdaps.c +++ b/drivers/hwmon/hdaps.c

[PATCH] use mutex instead of semaphore in hdaps driver

2007-04-25 Thread Matthias Kaehlcke
the hdaps driver uses a semaphore as mutex. use the mutex API instead of the (binary) semaphore Signed-off-by: Matthias Kaehlcke [EMAIL PROTECTED] -- diff --git a/drivers/hwmon/hdaps.c b/drivers/hwmon/hdaps.c index bf759ea..f8e4952 100644 --- a/drivers/hwmon/hdaps.c +++ b/drivers/hwmon/hdaps.c