hwmon: (s3c-hwmon) Use a real mutex
authorThomas Gleixner <tglx@linutronix.de>
Thu, 28 Oct 2010 18:31:44 +0000 (20:31 +0200)
committerJean Delvare <khali@endymion.delvare>
Thu, 28 Oct 2010 18:31:44 +0000 (20:31 +0200)
commit9c627e3be3e8f36eda73ed9e8aa4763582841c1f
treee04a1c7d96ea649e2f7831d388fa6b643411f0a3
parentcaaa0f36c378c6fec6fd5260a63566e002ac4a84
hwmon: (s3c-hwmon) Use a real mutex

The semaphore which protects the ADC is semantically a mutex. Use a
real mutex.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/s3c-hwmon.c